@Generated(value="by gapic-generator-java") 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.
|
getHttpJsonOperationsStub
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
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ClusterControllerStub
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
createClusterCallable
in class ClusterControllerStub
public OperationCallable<CreateClusterRequest,Cluster,ClusterOperationMetadata> createClusterOperationCallable()
createClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
updateClusterCallable
in class ClusterControllerStub
public OperationCallable<UpdateClusterRequest,Cluster,ClusterOperationMetadata> updateClusterOperationCallable()
updateClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<StopClusterRequest,Operation> stopClusterCallable()
stopClusterCallable
in class ClusterControllerStub
public OperationCallable<StopClusterRequest,Cluster,ClusterOperationMetadata> stopClusterOperationCallable()
stopClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<StartClusterRequest,Operation> startClusterCallable()
startClusterCallable
in class ClusterControllerStub
public OperationCallable<StartClusterRequest,Cluster,ClusterOperationMetadata> startClusterOperationCallable()
startClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
deleteClusterCallable
in class ClusterControllerStub
public OperationCallable<DeleteClusterRequest,Empty,ClusterOperationMetadata> deleteClusterOperationCallable()
deleteClusterOperationCallable
in class ClusterControllerStub
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
getClusterCallable
in class ClusterControllerStub
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
listClustersCallable
in class ClusterControllerStub
public UnaryCallable<ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> listClustersPagedCallable()
listClustersPagedCallable
in class ClusterControllerStub
public UnaryCallable<DiagnoseClusterRequest,Operation> diagnoseClusterCallable()
diagnoseClusterCallable
in class ClusterControllerStub
public OperationCallable<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata> diagnoseClusterOperationCallable()
diagnoseClusterOperationCallable
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 © 2022 Google LLC. All rights reserved.