Package com.google.cloud.dataproc.v1
Class BatchControllerSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BatchControllerSettings,BatchControllerSettings.Builder>
com.google.cloud.dataproc.v1.BatchControllerSettings.Builder
- Enclosing class:
- BatchControllerSettings
public static class BatchControllerSettings.Builder
extends ClientSettings.Builder<BatchControllerSettings,BatchControllerSettings.Builder>
Builder for BatchControllerSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(BatchControllerSettings settings) protectedBuilder(BatchControllerStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createBatch.Returns the builder for the settings used for calls to createBatch.UnaryCallSettings.Builder<DeleteBatchRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteBatch.Returns the builder for the settings used for calls to getBatch.Returns the builder for the settings used for calls to getIamPolicy.PagedCallSettings.Builder<ListBatchesRequest,ListBatchesResponse, BatchControllerClient.ListBatchesPagedResponse> Returns the builder for the settings used for calls to listBatches.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
createBatchSettings
Returns the builder for the settings used for calls to createBatch. -
createBatchOperationSettings
public OperationCallSettings.Builder<CreateBatchRequest,Batch, createBatchOperationSettings()BatchOperationMetadata> Returns the builder for the settings used for calls to createBatch. -
getBatchSettings
Returns the builder for the settings used for calls to getBatch. -
listBatchesSettings
public PagedCallSettings.Builder<ListBatchesRequest,ListBatchesResponse, listBatchesSettings()BatchControllerClient.ListBatchesPagedResponse> Returns the builder for the settings used for calls to listBatches. -
deleteBatchSettings
public UnaryCallSettings.Builder<DeleteBatchRequest,com.google.protobuf.Empty> deleteBatchSettings()Returns the builder for the settings used for calls to deleteBatch. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<BatchControllerSettings,BatchControllerSettings.Builder> - Throws:
IOException
-