Class HttpJsonClusterManagerStub
java.lang.Object
com.google.cloud.container.v1.stub.ClusterManagerStub
com.google.cloud.container.v1.stub.HttpJsonClusterManagerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonClusterManagerStub
extends ClusterManagerStub
REST stub implementation for the ClusterManager service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonClusterManagerStub, using the given settings.protectedHttpJsonClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonClusterManagerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<CancelOperationRequest,com.google.protobuf.Empty> final voidclose()UnaryCallable<CompleteNodePoolUpgradeRequest,com.google.protobuf.Empty> static final HttpJsonClusterManagerStubcreate(ClientContext clientContext) static final HttpJsonClusterManagerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonClusterManagerStubcreate(ClusterManagerStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonClusterManagerStub
protected HttpJsonClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonClusterManagerStub, 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
-
HttpJsonClusterManagerStub
protected HttpJsonClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonClusterManagerStub, 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 HttpJsonClusterManagerStub create(ClusterManagerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonClusterManagerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonClusterManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
listClustersCallable
- Overrides:
listClustersCallablein classClusterManagerStub
-
getClusterCallable
- Overrides:
getClusterCallablein classClusterManagerStub
-
createClusterCallable
- Overrides:
createClusterCallablein classClusterManagerStub
-
updateClusterCallable
- Overrides:
updateClusterCallablein classClusterManagerStub
-
updateNodePoolCallable
- Overrides:
updateNodePoolCallablein classClusterManagerStub
-
setNodePoolAutoscalingCallable
- Overrides:
setNodePoolAutoscalingCallablein classClusterManagerStub
-
setLoggingServiceCallable
- Overrides:
setLoggingServiceCallablein classClusterManagerStub
-
setMonitoringServiceCallable
- Overrides:
setMonitoringServiceCallablein classClusterManagerStub
-
setAddonsConfigCallable
- Overrides:
setAddonsConfigCallablein classClusterManagerStub
-
setLocationsCallable
- Overrides:
setLocationsCallablein classClusterManagerStub
-
updateMasterCallable
- Overrides:
updateMasterCallablein classClusterManagerStub
-
setMasterAuthCallable
- Overrides:
setMasterAuthCallablein classClusterManagerStub
-
deleteClusterCallable
- Overrides:
deleteClusterCallablein classClusterManagerStub
-
listOperationsCallable
- Overrides:
listOperationsCallablein classClusterManagerStub
-
getOperationCallable
- Overrides:
getOperationCallablein classClusterManagerStub
-
cancelOperationCallable
- Overrides:
cancelOperationCallablein classClusterManagerStub
-
getServerConfigCallable
- Overrides:
getServerConfigCallablein classClusterManagerStub
-
getJSONWebKeysCallable
- Overrides:
getJSONWebKeysCallablein classClusterManagerStub
-
listNodePoolsCallable
- Overrides:
listNodePoolsCallablein classClusterManagerStub
-
getNodePoolCallable
- Overrides:
getNodePoolCallablein classClusterManagerStub
-
createNodePoolCallable
- Overrides:
createNodePoolCallablein classClusterManagerStub
-
deleteNodePoolCallable
- Overrides:
deleteNodePoolCallablein classClusterManagerStub
-
completeNodePoolUpgradeCallable
public UnaryCallable<CompleteNodePoolUpgradeRequest,com.google.protobuf.Empty> completeNodePoolUpgradeCallable()- Overrides:
completeNodePoolUpgradeCallablein classClusterManagerStub
-
rollbackNodePoolUpgradeCallable
- Overrides:
rollbackNodePoolUpgradeCallablein classClusterManagerStub
-
setNodePoolManagementCallable
- Overrides:
setNodePoolManagementCallablein classClusterManagerStub
-
setLabelsCallable
- Overrides:
setLabelsCallablein classClusterManagerStub
-
setLegacyAbacCallable
- Overrides:
setLegacyAbacCallablein classClusterManagerStub
-
startIPRotationCallable
- Overrides:
startIPRotationCallablein classClusterManagerStub
-
completeIPRotationCallable
- Overrides:
completeIPRotationCallablein classClusterManagerStub
-
setNodePoolSizeCallable
- Overrides:
setNodePoolSizeCallablein classClusterManagerStub
-
setNetworkPolicyCallable
- Overrides:
setNetworkPolicyCallablein classClusterManagerStub
-
setMaintenancePolicyCallable
- Overrides:
setMaintenancePolicyCallablein classClusterManagerStub
-
listUsableSubnetworksCallable
public UnaryCallable<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse> listUsableSubnetworksCallable()- Overrides:
listUsableSubnetworksCallablein classClusterManagerStub
-
listUsableSubnetworksPagedCallable
public UnaryCallable<ListUsableSubnetworksRequest,ClusterManagerClient.ListUsableSubnetworksPagedResponse> listUsableSubnetworksPagedCallable()- Overrides:
listUsableSubnetworksPagedCallablein classClusterManagerStub
-
checkAutopilotCompatibilityCallable
public UnaryCallable<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse> checkAutopilotCompatibilityCallable()- Overrides:
checkAutopilotCompatibilityCallablein classClusterManagerStub
-
fetchClusterUpgradeInfoCallable
public UnaryCallable<FetchClusterUpgradeInfoRequest,ClusterUpgradeInfo> fetchClusterUpgradeInfoCallable()- Overrides:
fetchClusterUpgradeInfoCallablein classClusterManagerStub
-
fetchNodePoolUpgradeInfoCallable
public UnaryCallable<FetchNodePoolUpgradeInfoRequest,NodePoolUpgradeInfo> fetchNodePoolUpgradeInfoCallable()- Overrides:
fetchNodePoolUpgradeInfoCallablein classClusterManagerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classClusterManagerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-