Class GrpcClusterManagerStub
- java.lang.Object
-
- com.google.cloud.container.v1.stub.ClusterManagerStub
-
- com.google.cloud.container.v1.stub.GrpcClusterManagerStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcClusterManagerStub extends ClusterManagerStub
gRPC stub implementation for the ClusterManager service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcClusterManagerStub(ClusterManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcClusterManagerStub, using the given settings.protected
GrpcClusterManagerStub(ClusterManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcClusterManagerStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcClusterManagerStub
protected GrpcClusterManagerStub(ClusterManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcClusterManagerStub, 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
-
GrpcClusterManagerStub
protected GrpcClusterManagerStub(ClusterManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcClusterManagerStub, 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 Detail
-
create
public static final GrpcClusterManagerStub create(ClusterManagerStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcClusterManagerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcClusterManagerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
listClustersCallable
public com.google.api.gax.rpc.UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
- Overrides:
listClustersCallable
in classClusterManagerStub
-
getClusterCallable
public com.google.api.gax.rpc.UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
- Overrides:
getClusterCallable
in classClusterManagerStub
-
createClusterCallable
public com.google.api.gax.rpc.UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
- Overrides:
createClusterCallable
in classClusterManagerStub
-
updateClusterCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
- Overrides:
updateClusterCallable
in classClusterManagerStub
-
updateNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateNodePoolRequest,Operation> updateNodePoolCallable()
- Overrides:
updateNodePoolCallable
in classClusterManagerStub
-
setNodePoolAutoscalingCallable
public com.google.api.gax.rpc.UnaryCallable<SetNodePoolAutoscalingRequest,Operation> setNodePoolAutoscalingCallable()
- Overrides:
setNodePoolAutoscalingCallable
in classClusterManagerStub
-
setLoggingServiceCallable
public com.google.api.gax.rpc.UnaryCallable<SetLoggingServiceRequest,Operation> setLoggingServiceCallable()
- Overrides:
setLoggingServiceCallable
in classClusterManagerStub
-
setMonitoringServiceCallable
public com.google.api.gax.rpc.UnaryCallable<SetMonitoringServiceRequest,Operation> setMonitoringServiceCallable()
- Overrides:
setMonitoringServiceCallable
in classClusterManagerStub
-
setAddonsConfigCallable
public com.google.api.gax.rpc.UnaryCallable<SetAddonsConfigRequest,Operation> setAddonsConfigCallable()
- Overrides:
setAddonsConfigCallable
in classClusterManagerStub
-
setLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<SetLocationsRequest,Operation> setLocationsCallable()
- Overrides:
setLocationsCallable
in classClusterManagerStub
-
updateMasterCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateMasterRequest,Operation> updateMasterCallable()
- Overrides:
updateMasterCallable
in classClusterManagerStub
-
setMasterAuthCallable
public com.google.api.gax.rpc.UnaryCallable<SetMasterAuthRequest,Operation> setMasterAuthCallable()
- Overrides:
setMasterAuthCallable
in classClusterManagerStub
-
deleteClusterCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
- Overrides:
deleteClusterCallable
in classClusterManagerStub
-
listOperationsCallable
public com.google.api.gax.rpc.UnaryCallable<ListOperationsRequest,ListOperationsResponse> listOperationsCallable()
- Overrides:
listOperationsCallable
in classClusterManagerStub
-
getOperationCallable
public com.google.api.gax.rpc.UnaryCallable<GetOperationRequest,Operation> getOperationCallable()
- Overrides:
getOperationCallable
in classClusterManagerStub
-
cancelOperationCallable
public com.google.api.gax.rpc.UnaryCallable<CancelOperationRequest,com.google.protobuf.Empty> cancelOperationCallable()
- Overrides:
cancelOperationCallable
in classClusterManagerStub
-
getServerConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetServerConfigRequest,ServerConfig> getServerConfigCallable()
- Overrides:
getServerConfigCallable
in classClusterManagerStub
-
getJSONWebKeysCallable
public com.google.api.gax.rpc.UnaryCallable<GetJSONWebKeysRequest,GetJSONWebKeysResponse> getJSONWebKeysCallable()
- Overrides:
getJSONWebKeysCallable
in classClusterManagerStub
-
listNodePoolsCallable
public com.google.api.gax.rpc.UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsCallable()
- Overrides:
listNodePoolsCallable
in classClusterManagerStub
-
getNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
- Overrides:
getNodePoolCallable
in classClusterManagerStub
-
createNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<CreateNodePoolRequest,Operation> createNodePoolCallable()
- Overrides:
createNodePoolCallable
in classClusterManagerStub
-
deleteNodePoolCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNodePoolRequest,Operation> deleteNodePoolCallable()
- Overrides:
deleteNodePoolCallable
in classClusterManagerStub
-
completeNodePoolUpgradeCallable
public com.google.api.gax.rpc.UnaryCallable<CompleteNodePoolUpgradeRequest,com.google.protobuf.Empty> completeNodePoolUpgradeCallable()
- Overrides:
completeNodePoolUpgradeCallable
in classClusterManagerStub
-
rollbackNodePoolUpgradeCallable
public com.google.api.gax.rpc.UnaryCallable<RollbackNodePoolUpgradeRequest,Operation> rollbackNodePoolUpgradeCallable()
- Overrides:
rollbackNodePoolUpgradeCallable
in classClusterManagerStub
-
setNodePoolManagementCallable
public com.google.api.gax.rpc.UnaryCallable<SetNodePoolManagementRequest,Operation> setNodePoolManagementCallable()
- Overrides:
setNodePoolManagementCallable
in classClusterManagerStub
-
setLabelsCallable
public com.google.api.gax.rpc.UnaryCallable<SetLabelsRequest,Operation> setLabelsCallable()
- Overrides:
setLabelsCallable
in classClusterManagerStub
-
setLegacyAbacCallable
public com.google.api.gax.rpc.UnaryCallable<SetLegacyAbacRequest,Operation> setLegacyAbacCallable()
- Overrides:
setLegacyAbacCallable
in classClusterManagerStub
-
startIPRotationCallable
public com.google.api.gax.rpc.UnaryCallable<StartIPRotationRequest,Operation> startIPRotationCallable()
- Overrides:
startIPRotationCallable
in classClusterManagerStub
-
completeIPRotationCallable
public com.google.api.gax.rpc.UnaryCallable<CompleteIPRotationRequest,Operation> completeIPRotationCallable()
- Overrides:
completeIPRotationCallable
in classClusterManagerStub
-
setNodePoolSizeCallable
public com.google.api.gax.rpc.UnaryCallable<SetNodePoolSizeRequest,Operation> setNodePoolSizeCallable()
- Overrides:
setNodePoolSizeCallable
in classClusterManagerStub
-
setNetworkPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetNetworkPolicyRequest,Operation> setNetworkPolicyCallable()
- Overrides:
setNetworkPolicyCallable
in classClusterManagerStub
-
setMaintenancePolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetMaintenancePolicyRequest,Operation> setMaintenancePolicyCallable()
- Overrides:
setMaintenancePolicyCallable
in classClusterManagerStub
-
listUsableSubnetworksCallable
public com.google.api.gax.rpc.UnaryCallable<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse> listUsableSubnetworksCallable()
- Overrides:
listUsableSubnetworksCallable
in classClusterManagerStub
-
listUsableSubnetworksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListUsableSubnetworksRequest,ClusterManagerClient.ListUsableSubnetworksPagedResponse> listUsableSubnetworksPagedCallable()
- Overrides:
listUsableSubnetworksPagedCallable
in classClusterManagerStub
-
checkAutopilotCompatibilityCallable
public com.google.api.gax.rpc.UnaryCallable<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse> checkAutopilotCompatibilityCallable()
- Overrides:
checkAutopilotCompatibilityCallable
in classClusterManagerStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classClusterManagerStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-