Class BatchControllerSettings.Builder (4.5.0)

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

Builder for BatchControllerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BatchControllerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BatchControllerSettings settings)

protected Builder(BatchControllerSettings settings)
Parameter
NameDescription
settingsBatchControllerSettings

Builder(BatchControllerStubSettings.Builder stubSettings)

protected Builder(BatchControllerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBatchControllerStubSettings.Builder

Methods

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

public BatchControllerSettings.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

build()

public BatchControllerSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

createBatchOperationSettings()

public OperationCallSettings.Builder<CreateBatchRequest,Batch,BatchOperationMetadata> createBatchOperationSettings()

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

Returns

createBatchSettings()

public UnaryCallSettings.Builder<CreateBatchRequest,Operation> createBatchSettings()

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

Returns

deleteBatchSettings()

public UnaryCallSettings.Builder<DeleteBatchRequest,Empty> deleteBatchSettings()

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

Returns

getBatchSettings()

public UnaryCallSettings.Builder<GetBatchRequest,Batch> getBatchSettings()

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

Returns
TypeDescription
Builder<GetBatchRequest,Batch>

getStubSettingsBuilder()

public BatchControllerStubSettings.Builder getStubSettingsBuilder()
Returns

listBatchesSettings()

public PagedCallSettings.Builder<ListBatchesRequest,ListBatchesResponse,BatchControllerClient.ListBatchesPagedResponse> listBatchesSettings()

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

Returns