public static class ClusterControllerSettings.Builder extends ClientSettings.Builder<ClusterControllerSettings,ClusterControllerSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ClusterControllerSettings settings) |
protected |
Builder(ClusterControllerStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
ClusterControllerSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ClusterControllerSettings |
build() |
OperationCallSettings.Builder<com.google.cloud.dataproc.v1.CreateClusterRequest,com.google.cloud.dataproc.v1.Cluster,com.google.cloud.dataproc.v1.ClusterOperationMetadata> |
createClusterOperationSettings()
Returns the builder for the settings used for calls to createCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.CreateClusterRequest,Operation> |
createClusterSettings()
Returns the builder for the settings used for calls to createCluster.
|
OperationCallSettings.Builder<com.google.cloud.dataproc.v1.DeleteClusterRequest,Empty,com.google.cloud.dataproc.v1.ClusterOperationMetadata> |
deleteClusterOperationSettings()
Returns the builder for the settings used for calls to deleteCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.DeleteClusterRequest,Operation> |
deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.
|
OperationCallSettings.Builder<com.google.cloud.dataproc.v1.DiagnoseClusterRequest,Empty,com.google.cloud.dataproc.v1.DiagnoseClusterResults> |
diagnoseClusterOperationSettings()
Returns the builder for the settings used for calls to diagnoseCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.DiagnoseClusterRequest,Operation> |
diagnoseClusterSettings()
Returns the builder for the settings used for calls to diagnoseCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.GetClusterRequest,com.google.cloud.dataproc.v1.Cluster> |
getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
|
ClusterControllerStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.dataproc.v1.ListClustersRequest,com.google.cloud.dataproc.v1.ListClustersResponse,ClusterControllerClient.ListClustersPagedResponse> |
listClustersSettings()
Returns the builder for the settings used for calls to listClusters.
|
OperationCallSettings.Builder<com.google.cloud.dataproc.v1.UpdateClusterRequest,com.google.cloud.dataproc.v1.Cluster,com.google.cloud.dataproc.v1.ClusterOperationMetadata> |
updateClusterOperationSettings()
Returns the builder for the settings used for calls to updateCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.UpdateClusterRequest,Operation> |
updateClusterSettings()
Returns the builder for the settings used for calls to updateCluster.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ClusterControllerSettings settings)
protected Builder(ClusterControllerStubSettings.Builder stubSettings)
public ClusterControllerStubSettings.Builder getStubSettingsBuilder()
public ClusterControllerSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.CreateClusterRequest,Operation> createClusterSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dataproc.v1.CreateClusterRequest,com.google.cloud.dataproc.v1.Cluster,com.google.cloud.dataproc.v1.ClusterOperationMetadata> createClusterOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.UpdateClusterRequest,Operation> updateClusterSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dataproc.v1.UpdateClusterRequest,com.google.cloud.dataproc.v1.Cluster,com.google.cloud.dataproc.v1.ClusterOperationMetadata> updateClusterOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.DeleteClusterRequest,Operation> deleteClusterSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dataproc.v1.DeleteClusterRequest,Empty,com.google.cloud.dataproc.v1.ClusterOperationMetadata> deleteClusterOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.GetClusterRequest,com.google.cloud.dataproc.v1.Cluster> getClusterSettings()
public PagedCallSettings.Builder<com.google.cloud.dataproc.v1.ListClustersRequest,com.google.cloud.dataproc.v1.ListClustersResponse,ClusterControllerClient.ListClustersPagedResponse> listClustersSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.DiagnoseClusterRequest,Operation> diagnoseClusterSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dataproc.v1.DiagnoseClusterRequest,Empty,com.google.cloud.dataproc.v1.DiagnoseClusterResults> diagnoseClusterOperationSettings()
public ClusterControllerSettings build() throws IOException
build
in class ClientSettings.Builder<ClusterControllerSettings,ClusterControllerSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.