@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcClusterControllerStub extends ClusterControllerStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcClusterControllerStub(ClusterControllerStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcClusterControllerStub, using the given settings.
|
protected |
GrpcClusterControllerStub(ClusterControllerStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcClusterControllerStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcClusterControllerStub |
create(ClientContext clientContext) |
static GrpcClusterControllerStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcClusterControllerStub |
create(ClusterControllerStubSettings settings) |
UnaryCallable<com.google.cloud.dataproc.v1beta2.CreateClusterRequest,Operation> |
createClusterCallable() |
OperationCallable<com.google.cloud.dataproc.v1beta2.CreateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> |
createClusterOperationCallable() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.DeleteClusterRequest,Operation> |
deleteClusterCallable() |
OperationCallable<com.google.cloud.dataproc.v1beta2.DeleteClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> |
deleteClusterOperationCallable() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest,Operation> |
diagnoseClusterCallable() |
OperationCallable<com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.DiagnoseClusterResults> |
diagnoseClusterOperationCallable() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.GetClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster> |
getClusterCallable() |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.ListClustersRequest,com.google.cloud.dataproc.v1beta2.ListClustersResponse> |
listClustersCallable() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> |
listClustersPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.UpdateClusterRequest,Operation> |
updateClusterCallable() |
OperationCallable<com.google.cloud.dataproc.v1beta2.UpdateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> |
updateClusterOperationCallable() |
protected GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcClusterControllerStub create(ClusterControllerStubSettings settings) throws IOException
IOException
public static final GrpcClusterControllerStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcClusterControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ClusterControllerStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.dataproc.v1beta2.CreateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> createClusterOperationCallable()
createClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.CreateClusterRequest,Operation> createClusterCallable()
createClusterCallable
in class ClusterControllerStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.dataproc.v1beta2.UpdateClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> updateClusterOperationCallable()
updateClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.UpdateClusterRequest,Operation> updateClusterCallable()
updateClusterCallable
in class ClusterControllerStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.dataproc.v1beta2.DeleteClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.ClusterOperationMetadata> deleteClusterOperationCallable()
deleteClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.DeleteClusterRequest,Operation> deleteClusterCallable()
deleteClusterCallable
in class ClusterControllerStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.GetClusterRequest,com.google.cloud.dataproc.v1beta2.Cluster> getClusterCallable()
getClusterCallable
in class ClusterControllerStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> listClustersPagedCallable()
listClustersPagedCallable
in class ClusterControllerStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.ListClustersRequest,com.google.cloud.dataproc.v1beta2.ListClustersResponse> listClustersCallable()
listClustersCallable
in class ClusterControllerStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest,Empty,com.google.cloud.dataproc.v1beta2.DiagnoseClusterResults> diagnoseClusterOperationCallable()
diagnoseClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest,Operation> diagnoseClusterCallable()
diagnoseClusterCallable
in class ClusterControllerStub
public final void close()
close
in interface AutoCloseable
close
in class ClusterControllerStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.