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 com.google.api.gax.rpc.ClientSettings.Builder<BatchControllerSettings,BatchControllerSettings.Builder>
Builder for BatchControllerSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BatchControllerSettings settings)
protected
Builder(BatchControllerStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchControllerSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.BatchControllerSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBatchRequest,Batch,BatchOperationMetadata>
createBatchOperationSettings()
Returns the builder for the settings used for calls to createBatch.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBatchRequest,com.google.longrunning.Operation>
createBatchSettings()
Returns the builder for the settings used for calls to createBatch.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBatchRequest,com.google.protobuf.Empty>
deleteBatchSettings()
Returns the builder for the settings used for calls to deleteBatch.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBatchRequest,Batch>
getBatchSettings()
Returns the builder for the settings used for calls to getBatch.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.BatchControllerStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListBatchesRequest,ListBatchesResponse,BatchControllerClient.ListBatchesPagedResponse>
listBatchesSettings()
Returns the builder for the settings used for calls to listBatches.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(BatchControllerSettings settings)
-
Builder
protected Builder(BatchControllerStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public BatchControllerStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public BatchControllerSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBatchRequest,com.google.longrunning.Operation> createBatchSettings()
Returns the builder for the settings used for calls to createBatch.
-
createBatchOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBatchRequest,Batch,BatchOperationMetadata> createBatchOperationSettings()
Returns the builder for the settings used for calls to createBatch.
-
getBatchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBatchRequest,Batch> getBatchSettings()
Returns the builder for the settings used for calls to getBatch.
-
listBatchesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBatchesRequest,ListBatchesResponse,BatchControllerClient.ListBatchesPagedResponse> listBatchesSettings()
Returns the builder for the settings used for calls to listBatches.
-
deleteBatchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBatchRequest,com.google.protobuf.Empty> deleteBatchSettings()
Returns the builder for the settings used for calls to deleteBatch.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public BatchControllerSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<BatchControllerSettings,BatchControllerSettings.Builder>
- Throws:
IOException
-
-