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(com.google.api.core.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.v1beta2.CreateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> |
createClusterOperationSettings()
Returns the builder for the settings used for calls to createCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.CreateClusterRequest,Operation> |
createClusterSettings()
Returns the builder for the settings used for calls to createCluster.
|
OperationCallSettings.Builder<com.google.cloud.dataproc.v1beta2.DeleteClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> |
deleteClusterOperationSettings()
Returns the builder for the settings used for calls to deleteCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.DeleteClusterRequest,Operation> |
deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.
|
OperationCallSettings.Builder<com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.DiagnoseClusterResults> |
diagnoseClusterOperationSettings()
Returns the builder for the settings used for calls to diagnoseCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest,Operation> |
diagnoseClusterSettings()
Returns the builder for the settings used for calls to diagnoseCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.GetClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster> |
getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
|
PagedCallSettings.Builder<com.google.cloud.dataproc.v1beta2.ListClustersRequest,com.google.cloud.dataproc.v1beta2.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.v1beta2.UpdateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> |
updateClusterOperationSettings()
Returns the builder for the settings used for calls to updateCluster.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.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(com.google.api.core.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.v1beta2.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.v1beta2.CreateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> createClusterOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.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.v1beta2.UpdateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> updateClusterOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.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.v1beta2.DeleteClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> deleteClusterOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.GetClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster> getClusterSettings()
public PagedCallSettings.Builder<com.google.cloud.dataproc.v1beta2.ListClustersRequest,com.google.cloud.dataproc.v1beta2.ListClustersResponse,ClusterControllerClient.ListClustersPagedResponse> listClustersSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1beta2.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.v1beta2.DiagnoseClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.DiagnoseClusterResults> diagnoseClusterOperationSettings()
public ClusterControllerStubSettings build() throws IOException
build
in class StubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.