@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonClusterControllerStub extends ClusterControllerStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonClusterControllerStub(ClusterControllerStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonClusterControllerStub, using the given settings.
|
protected |
HttpJsonClusterControllerStub(ClusterControllerStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonClusterControllerStub, using the given settings.
|
getOperationsStub
protected HttpJsonClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonClusterControllerStub create(ClusterControllerStubSettings settings) throws IOException
IOException
public static final HttpJsonClusterControllerStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonClusterControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
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.