Class BatchControllerStubSettings.Builder (4.32.0)

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

Builder for BatchControllerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BatchControllerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BatchControllerStubSettings settings)

protected Builder(BatchControllerStubSettings settings)
Parameter
NameDescription
settingsBatchControllerStubSettings

Methods

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

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

build()

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

createBatchOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateBatchRequest,Batch,BatchOperationMetadata>

createBatchSettings()

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

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

Returns
TypeDescription
Builder<CreateBatchRequest,Operation>

deleteBatchSettings()

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

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

Returns
TypeDescription
Builder<DeleteBatchRequest,Empty>

getBatchSettings()

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

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

Returns
TypeDescription
Builder<GetBatchRequest,Batch>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

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

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

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

listBatchesSettings()

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

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

Returns
TypeDescription
Builder<ListBatchesRequest,ListBatchesResponse,ListBatchesPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

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