Package com.google.cloud.dataproc.v1
Class ClusterControllerSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ClusterControllerSettings,ClusterControllerSettings.Builder>
com.google.cloud.dataproc.v1.ClusterControllerSettings.Builder
- Enclosing class:
- ClusterControllerSettings
public static class ClusterControllerSettings.Builder
extends ClientSettings.Builder<ClusterControllerSettings,ClusterControllerSettings.Builder>
Builder for ClusterControllerSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ClusterControllerSettings settings) protectedBuilder(ClusterControllerStubSettings.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 createCluster.Returns the builder for the settings used for calls to createCluster.OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty, ClusterOperationMetadata> Returns the builder for the settings used for calls to deleteCluster.Returns the builder for the settings used for calls to deleteCluster.OperationCallSettings.Builder<DiagnoseClusterRequest,DiagnoseClusterResults, ClusterOperationMetadata> Returns the builder for the settings used for calls to diagnoseCluster.Returns the builder for the settings used for calls to diagnoseCluster.Returns the builder for the settings used for calls to getCluster.Returns the builder for the settings used for calls to getIamPolicy.PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse, ClusterControllerClient.ListClustersPagedResponse> Returns the builder for the settings used for calls to listClusters.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to startCluster.Returns the builder for the settings used for calls to startCluster.Returns the builder for the settings used for calls to stopCluster.Returns the builder for the settings used for calls to stopCluster.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateCluster.Returns the builder for the settings used for calls to updateCluster.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 ClusterControllerSettings.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.
-
createClusterSettings
Returns the builder for the settings used for calls to createCluster. -
createClusterOperationSettings
public OperationCallSettings.Builder<CreateClusterRequest,Cluster, createClusterOperationSettings()ClusterOperationMetadata> Returns the builder for the settings used for calls to createCluster. -
updateClusterSettings
Returns the builder for the settings used for calls to updateCluster. -
updateClusterOperationSettings
public OperationCallSettings.Builder<UpdateClusterRequest,Cluster, updateClusterOperationSettings()ClusterOperationMetadata> Returns the builder for the settings used for calls to updateCluster. -
stopClusterSettings
Returns the builder for the settings used for calls to stopCluster. -
stopClusterOperationSettings
public OperationCallSettings.Builder<StopClusterRequest,Cluster, stopClusterOperationSettings()ClusterOperationMetadata> Returns the builder for the settings used for calls to stopCluster. -
startClusterSettings
Returns the builder for the settings used for calls to startCluster. -
startClusterOperationSettings
public OperationCallSettings.Builder<StartClusterRequest,Cluster, startClusterOperationSettings()ClusterOperationMetadata> Returns the builder for the settings used for calls to startCluster. -
deleteClusterSettings
Returns the builder for the settings used for calls to deleteCluster. -
deleteClusterOperationSettings
public OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationSettings()ClusterOperationMetadata> Returns the builder for the settings used for calls to deleteCluster. -
getClusterSettings
Returns the builder for the settings used for calls to getCluster. -
listClustersSettings
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse, listClustersSettings()ClusterControllerClient.ListClustersPagedResponse> Returns the builder for the settings used for calls to listClusters. -
diagnoseClusterSettings
Returns the builder for the settings used for calls to diagnoseCluster. -
diagnoseClusterOperationSettings
public OperationCallSettings.Builder<DiagnoseClusterRequest,DiagnoseClusterResults, diagnoseClusterOperationSettings()ClusterOperationMetadata> Returns the builder for the settings used for calls to diagnoseCluster. -
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<ClusterControllerSettings,ClusterControllerSettings.Builder> - Throws:
IOException
-