Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonClusterControllerStub extends ClusterControllerStub
REST stub implementation for the ClusterController service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonClusterControllerStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonClusterControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ClusterControllerStubSettings settings)
public static final HttpJsonClusterControllerStub create(ClusterControllerStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext)
protected HttpJsonClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonClusterControllerStub, 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.
HttpJsonClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonClusterControllerStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Overrides
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,ClusterOperationMetadata> createClusterOperationCallable()
Overrides
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Overrides
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,ClusterOperationMetadata> deleteClusterOperationCallable()
Overrides
diagnoseClusterCallable()
public UnaryCallable<DiagnoseClusterRequest,Operation> diagnoseClusterCallable()
Overrides
diagnoseClusterOperationCallable()
public OperationCallable<DiagnoseClusterRequest,DiagnoseClusterResults,ClusterOperationMetadata> diagnoseClusterOperationCallable()
Overrides
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns Type Description UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Overrides
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> listClustersPagedCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns Type Description UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startClusterCallable()
public UnaryCallable<StartClusterRequest,Operation> startClusterCallable()
Overrides
startClusterOperationCallable()
public OperationCallable<StartClusterRequest,Cluster,ClusterOperationMetadata> startClusterOperationCallable()
Overrides
stopClusterCallable()
public UnaryCallable<StopClusterRequest,Operation> stopClusterCallable()
Overrides
stopClusterOperationCallable()
public OperationCallable<StopClusterRequest,Cluster,ClusterOperationMetadata> stopClusterOperationCallable()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns Type Description UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Overrides
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,ClusterOperationMetadata> updateClusterOperationCallable()
Overrides