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 com.google.api.gax.rpc.ClientSettings.Builder<ClusterControllerSettings,ClusterControllerSettings.Builder>
Builder for ClusterControllerSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ClusterControllerSettings settings)
protected
Builder(ClusterControllerStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterControllerSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ClusterControllerSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateClusterRequest,Cluster,ClusterOperationMetadata>
createClusterOperationSettings()
Returns the builder for the settings used for calls to createCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateClusterRequest,com.google.longrunning.Operation>
createClusterSettings()
Returns the builder for the settings used for calls to createCluster.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty,ClusterOperationMetadata>
deleteClusterOperationSettings()
Returns the builder for the settings used for calls to deleteCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteClusterRequest,com.google.longrunning.Operation>
deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.com.google.api.gax.rpc.OperationCallSettings.Builder<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata>
diagnoseClusterOperationSettings()
Returns the builder for the settings used for calls to diagnoseCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<DiagnoseClusterRequest,com.google.longrunning.Operation>
diagnoseClusterSettings()
Returns the builder for the settings used for calls to diagnoseCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetClusterRequest,Cluster>
getClusterSettings()
Returns the builder for the settings used for calls to getCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.ClusterControllerStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,ClusterControllerClient.ListClustersPagedResponse>
listClustersSettings()
Returns the builder for the settings used for calls to listClusters.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<StartClusterRequest,Cluster,ClusterOperationMetadata>
startClusterOperationSettings()
Returns the builder for the settings used for calls to startCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartClusterRequest,com.google.longrunning.Operation>
startClusterSettings()
Returns the builder for the settings used for calls to startCluster.com.google.api.gax.rpc.OperationCallSettings.Builder<StopClusterRequest,Cluster,ClusterOperationMetadata>
stopClusterOperationSettings()
Returns the builder for the settings used for calls to stopCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopClusterRequest,com.google.longrunning.Operation>
stopClusterSettings()
Returns the builder for the settings used for calls to stopCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateClusterRequest,Cluster,ClusterOperationMetadata>
updateClusterOperationSettings()
Returns the builder for the settings used for calls to updateCluster.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateClusterRequest,com.google.longrunning.Operation>
updateClusterSettings()
Returns the builder for the settings used for calls to updateCluster.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ClusterControllerSettings settings)
-
Builder
protected Builder(ClusterControllerStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ClusterControllerStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ClusterControllerSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateClusterRequest,com.google.longrunning.Operation> createClusterSettings()
Returns the builder for the settings used for calls to createCluster.
-
createClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateClusterRequest,Cluster,ClusterOperationMetadata> createClusterOperationSettings()
Returns the builder for the settings used for calls to createCluster.
-
updateClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateClusterRequest,com.google.longrunning.Operation> updateClusterSettings()
Returns the builder for the settings used for calls to updateCluster.
-
updateClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateClusterRequest,Cluster,ClusterOperationMetadata> updateClusterOperationSettings()
Returns the builder for the settings used for calls to updateCluster.
-
stopClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopClusterRequest,com.google.longrunning.Operation> stopClusterSettings()
Returns the builder for the settings used for calls to stopCluster.
-
stopClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StopClusterRequest,Cluster,ClusterOperationMetadata> stopClusterOperationSettings()
Returns the builder for the settings used for calls to stopCluster.
-
startClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartClusterRequest,com.google.longrunning.Operation> startClusterSettings()
Returns the builder for the settings used for calls to startCluster.
-
startClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StartClusterRequest,Cluster,ClusterOperationMetadata> startClusterOperationSettings()
Returns the builder for the settings used for calls to startCluster.
-
deleteClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteClusterRequest,com.google.longrunning.Operation> deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.
-
deleteClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty,ClusterOperationMetadata> deleteClusterOperationSettings()
Returns the builder for the settings used for calls to deleteCluster.
-
getClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
-
listClustersSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,ClusterControllerClient.ListClustersPagedResponse> listClustersSettings()
Returns the builder for the settings used for calls to listClusters.
-
diagnoseClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DiagnoseClusterRequest,com.google.longrunning.Operation> diagnoseClusterSettings()
Returns the builder for the settings used for calls to diagnoseCluster.
-
diagnoseClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata> diagnoseClusterOperationSettings()
Returns the builder for the settings used for calls to diagnoseCluster.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public ClusterControllerSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ClusterControllerSettings,ClusterControllerSettings.Builder>
- Throws:
IOException
-
-