@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcClusterControllerStub, using the given settings.
|
protected |
GrpcClusterControllerStub(ClusterControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.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(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcClusterControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcClusterControllerStub |
create(ClusterControllerStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateClusterRequest,com.google.longrunning.Operation> |
createClusterCallable() |
com.google.api.gax.rpc.OperationCallable<CreateClusterRequest,Cluster,ClusterOperationMetadata> |
createClusterOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteClusterRequest,com.google.longrunning.Operation> |
deleteClusterCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteClusterRequest,Empty,ClusterOperationMetadata> |
deleteClusterOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DiagnoseClusterRequest,com.google.longrunning.Operation> |
diagnoseClusterCallable() |
com.google.api.gax.rpc.OperationCallable<DiagnoseClusterRequest,Empty,DiagnoseClusterResults> |
diagnoseClusterOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetClusterRequest,Cluster> |
getClusterCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListClustersRequest,ListClustersResponse> |
listClustersCallable() |
com.google.api.gax.rpc.UnaryCallable<ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> |
listClustersPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateClusterRequest,com.google.longrunning.Operation> |
updateClusterCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateClusterRequest,Cluster,ClusterOperationMetadata> |
updateClusterOperationCallable() |
protected GrpcClusterControllerStub(ClusterControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcClusterControllerStub(ClusterControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcClusterControllerStub create(ClusterControllerStubSettings settings) throws IOException
IOExceptionpublic static final GrpcClusterControllerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcClusterControllerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 com.google.longrunning.stub.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 com.google.api.gax.rpc.OperationCallable<CreateClusterRequest,Cluster,ClusterOperationMetadata> createClusterOperationCallable()
createClusterOperationCallable in class ClusterControllerStubpublic com.google.api.gax.rpc.UnaryCallable<CreateClusterRequest,com.google.longrunning.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 com.google.api.gax.rpc.OperationCallable<UpdateClusterRequest,Cluster,ClusterOperationMetadata> updateClusterOperationCallable()
updateClusterOperationCallable in class ClusterControllerStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateClusterRequest,com.google.longrunning.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 com.google.api.gax.rpc.OperationCallable<DeleteClusterRequest,Empty,ClusterOperationMetadata> deleteClusterOperationCallable()
deleteClusterOperationCallable in class ClusterControllerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteClusterRequest,com.google.longrunning.Operation> deleteClusterCallable()
deleteClusterCallable in class ClusterControllerStubpublic com.google.api.gax.rpc.UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
getClusterCallable in class ClusterControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> listClustersPagedCallable()
listClustersPagedCallable in class ClusterControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListClustersRequest,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 com.google.api.gax.rpc.OperationCallable<DiagnoseClusterRequest,Empty,DiagnoseClusterResults> diagnoseClusterOperationCallable()
diagnoseClusterOperationCallable in class ClusterControllerStubpublic com.google.api.gax.rpc.UnaryCallable<DiagnoseClusterRequest,com.google.longrunning.Operation> diagnoseClusterCallable()
diagnoseClusterCallable in class ClusterControllerStubpublic final void close()
close in interface AutoCloseableclose in class ClusterControllerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.