public static class ClusterControllerStubSettings.Builder extends StubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ClusterControllerStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ClusterControllerStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ClusterControllerStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(ClusterControllerStubSettings settings)
public ClusterControllerStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.CreateClusterRequest,Operation> createClusterSettings()
@BetaApi(value="The surface for use by generated code 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 use by generated code 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 use by generated code 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 use by generated code 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 ClusterControllerStubSettings build() throws IOException
build
in class StubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.