Class GrpcHypercomputeClusterStub
java.lang.Object
com.google.cloud.hypercomputecluster.v1.stub.HypercomputeClusterStub
com.google.cloud.hypercomputecluster.v1.stub.GrpcHypercomputeClusterStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcHypercomputeClusterStub
extends HypercomputeClusterStub
gRPC stub implementation for the HypercomputeCluster service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcHypercomputeClusterStub(HypercomputeClusterStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcHypercomputeClusterStub, using the given settings.protectedGrpcHypercomputeClusterStub(HypercomputeClusterStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcHypercomputeClusterStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcHypercomputeClusterStubcreate(ClientContext clientContext) static final GrpcHypercomputeClusterStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcHypercomputeClusterStubcreate(HypercomputeClusterStubSettings settings) OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.hypercomputecluster.v1.stub.HypercomputeClusterStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcHypercomputeClusterStub
protected GrpcHypercomputeClusterStub(HypercomputeClusterStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcHypercomputeClusterStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcHypercomputeClusterStub
protected GrpcHypercomputeClusterStub(HypercomputeClusterStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcHypercomputeClusterStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcHypercomputeClusterStub create(HypercomputeClusterStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcHypercomputeClusterStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcHypercomputeClusterStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classHypercomputeClusterStub
-
listClustersCallable
- Overrides:
listClustersCallablein classHypercomputeClusterStub
-
listClustersPagedCallable
public UnaryCallable<ListClustersRequest,HypercomputeClusterClient.ListClustersPagedResponse> listClustersPagedCallable()- Overrides:
listClustersPagedCallablein classHypercomputeClusterStub
-
getClusterCallable
- Overrides:
getClusterCallablein classHypercomputeClusterStub
-
createClusterCallable
- Overrides:
createClusterCallablein classHypercomputeClusterStub
-
createClusterOperationCallable
public OperationCallable<CreateClusterRequest,Cluster, createClusterOperationCallable()OperationMetadata> - Overrides:
createClusterOperationCallablein classHypercomputeClusterStub
-
updateClusterCallable
- Overrides:
updateClusterCallablein classHypercomputeClusterStub
-
updateClusterOperationCallable
public OperationCallable<UpdateClusterRequest,Cluster, updateClusterOperationCallable()OperationMetadata> - Overrides:
updateClusterOperationCallablein classHypercomputeClusterStub
-
deleteClusterCallable
- Overrides:
deleteClusterCallablein classHypercomputeClusterStub
-
deleteClusterOperationCallable
public OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationCallable()OperationMetadata> - Overrides:
deleteClusterOperationCallablein classHypercomputeClusterStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classHypercomputeClusterStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,HypercomputeClusterClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classHypercomputeClusterStub
-
getLocationCallable
- Overrides:
getLocationCallablein classHypercomputeClusterStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classHypercomputeClusterStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-