Class ClusterControllerStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder>
com.google.cloud.dataproc.v1.stub.ClusterControllerStubSettings.Builder
- Enclosing class:
- ClusterControllerStubSettings
public static class ClusterControllerStubSettings.Builder
extends StubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder>
Builder for ClusterControllerStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ClusterControllerStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public ClusterControllerStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder> - Throws:
IOException
-