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 com.google.api.gax.rpc.StubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder>
Builder for ClusterControllerStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ClusterControllerStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterControllerStubSettings.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.ClusterControllerStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ClusterControllerStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ClusterControllerStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 ClusterControllerStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ClusterControllerStubSettings,ClusterControllerStubSettings.Builder>
- Throws:
IOException
-
-