Class BatchControllerSettings.Builder (4.44.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
Name Description
clientContext ClientContext

Builder(BatchControllerSettings settings)

protected Builder(BatchControllerSettings settings)
Parameter
Name Description
settings BatchControllerSettings

Builder(BatchControllerStubSettings.Builder stubSettings)

protected Builder(BatchControllerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings BatchControllerStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
BatchControllerSettings.Builder

build()

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

createBatchOperationSettings()

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

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

Returns
Type Description
Builder<CreateBatchRequest,Batch,BatchOperationMetadata>

createBatchSettings()

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

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

Returns
Type Description
Builder<CreateBatchRequest,Operation>

deleteBatchSettings()

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

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

Returns
Type Description
Builder<DeleteBatchRequest,Empty>

getBatchSettings()

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

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

Returns
Type Description
Builder<GetBatchRequest,Batch>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getStubSettingsBuilder()

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

listBatchesSettings()

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

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

Returns
Type Description
Builder<ListBatchesRequest,ListBatchesResponse,ListBatchesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>