- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public class GrpcClusterControllerStub extends ClusterControllerStub
gRPC stub implementation for the ClusterController service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext)
protected GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcClusterControllerStub, 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.
Name | Description |
settings | ClusterControllerStubSettings |
clientContext | ClientContext |
GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcClusterControllerStub, 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.
Name | Description |
settings | ClusterControllerStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
create(ClientContext clientContext)
public static final GrpcClusterControllerStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
GrpcClusterControllerStub |
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcClusterControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Type | Description |
GrpcClusterControllerStub |
Type | Description |
IOException |
create(ClusterControllerStubSettings settings)
public static final GrpcClusterControllerStub create(ClusterControllerStubSettings settings)
Name | Description |
settings | ClusterControllerStubSettings |
Type | Description |
GrpcClusterControllerStub |
Type | Description |
IOException |
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Type | Description |
UnaryCallable<CreateClusterRequest,Operation> |
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,ClusterOperationMetadata> createClusterOperationCallable()
Type | Description |
OperationCallable<CreateClusterRequest,Cluster,ClusterOperationMetadata> |
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Type | Description |
UnaryCallable<DeleteClusterRequest,Operation> |
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,ClusterOperationMetadata> deleteClusterOperationCallable()
Type | Description |
OperationCallable<DeleteClusterRequest,Empty,ClusterOperationMetadata> |
diagnoseClusterCallable()
public UnaryCallable<DiagnoseClusterRequest,Operation> diagnoseClusterCallable()
Type | Description |
UnaryCallable<DiagnoseClusterRequest,Operation> |
diagnoseClusterOperationCallable()
public OperationCallable<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata> diagnoseClusterOperationCallable()
Type | Description |
OperationCallable<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata> |
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Type | Description |
UnaryCallable<GetClusterRequest,Cluster> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Type | Description |
UnaryCallable<ListClustersRequest,ListClustersResponse> |
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> listClustersPagedCallable()
Type | Description |
UnaryCallable<ListClustersRequest,ListClustersPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startClusterCallable()
public UnaryCallable<StartClusterRequest,Operation> startClusterCallable()
Type | Description |
UnaryCallable<StartClusterRequest,Operation> |
startClusterOperationCallable()
public OperationCallable<StartClusterRequest,Cluster,ClusterOperationMetadata> startClusterOperationCallable()
Type | Description |
OperationCallable<StartClusterRequest,Cluster,ClusterOperationMetadata> |
stopClusterCallable()
public UnaryCallable<StopClusterRequest,Operation> stopClusterCallable()
Type | Description |
UnaryCallable<StopClusterRequest,Operation> |
stopClusterOperationCallable()
public OperationCallable<StopClusterRequest,Cluster,ClusterOperationMetadata> stopClusterOperationCallable()
Type | Description |
OperationCallable<StopClusterRequest,Cluster,ClusterOperationMetadata> |
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Type | Description |
UnaryCallable<UpdateClusterRequest,Operation> |
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,ClusterOperationMetadata> updateClusterOperationCallable()
Type | Description |
OperationCallable<UpdateClusterRequest,Cluster,ClusterOperationMetadata> |