Class GrpcClusterManagerStub (2.34.0)

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.

Inheritance

java.lang.Object > ClusterManagerStub > GrpcClusterManagerStub

Static Methods

create(ClientContext clientContext)

public static final GrpcClusterManagerStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcClusterManagerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcClusterManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcClusterManagerStub
Exceptions
TypeDescription
IOException

create(ClusterManagerStubSettings settings)

public static final GrpcClusterManagerStub create(ClusterManagerStubSettings settings)
Parameter
NameDescription
settingsClusterManagerStubSettings
Returns
TypeDescription
GrpcClusterManagerStub
Exceptions
TypeDescription
IOException

Constructors

GrpcClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext)

protected GrpcClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext)

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.

Parameters
NameDescription
settingsClusterManagerStubSettings
clientContextClientContext

GrpcClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcClusterManagerStub(ClusterManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
NameDescription
settingsClusterManagerStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelOperationCallable()

public UnaryCallable<CancelOperationRequest,Empty> cancelOperationCallable()
Overrides

checkAutopilotCompatibilityCallable()

public UnaryCallable<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse> checkAutopilotCompatibilityCallable()
Overrides

close()

public final void close()
Overrides

completeIPRotationCallable()

public UnaryCallable<CompleteIPRotationRequest,Operation> completeIPRotationCallable()
Overrides

completeNodePoolUpgradeCallable()

public UnaryCallable<CompleteNodePoolUpgradeRequest,Empty> completeNodePoolUpgradeCallable()
Overrides

createClusterCallable()

public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Overrides

createNodePoolCallable()

public UnaryCallable<CreateNodePoolRequest,Operation> createNodePoolCallable()
Overrides

deleteClusterCallable()

public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Overrides

deleteNodePoolCallable()

public UnaryCallable<DeleteNodePoolRequest,Operation> deleteNodePoolCallable()
Overrides

getClusterCallable()

public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Returns
TypeDescription
UnaryCallable<GetClusterRequest,Cluster>
Overrides

getJSONWebKeysCallable()

public UnaryCallable<GetJSONWebKeysRequest,GetJSONWebKeysResponse> getJSONWebKeysCallable()
Overrides

getNodePoolCallable()

public UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
Overrides

getOperationCallable()

public UnaryCallable<GetOperationRequest,Operation> getOperationCallable()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getServerConfigCallable()

public UnaryCallable<GetServerConfigRequest,ServerConfig> getServerConfigCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listClustersCallable()

public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Overrides

listNodePoolsCallable()

public UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsCallable()
Overrides

listOperationsCallable()

public UnaryCallable<ListOperationsRequest,ListOperationsResponse> listOperationsCallable()
Overrides

listUsableSubnetworksCallable()

public UnaryCallable<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse> listUsableSubnetworksCallable()
Overrides

listUsableSubnetworksPagedCallable()

public UnaryCallable<ListUsableSubnetworksRequest,ClusterManagerClient.ListUsableSubnetworksPagedResponse> listUsableSubnetworksPagedCallable()
Overrides

rollbackNodePoolUpgradeCallable()

public UnaryCallable<RollbackNodePoolUpgradeRequest,Operation> rollbackNodePoolUpgradeCallable()
Overrides

setAddonsConfigCallable()

public UnaryCallable<SetAddonsConfigRequest,Operation> setAddonsConfigCallable()
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsRequest,Operation> setLabelsCallable()
Overrides

setLegacyAbacCallable()

public UnaryCallable<SetLegacyAbacRequest,Operation> setLegacyAbacCallable()
Overrides

setLocationsCallable()

public UnaryCallable<SetLocationsRequest,Operation> setLocationsCallable()
Overrides

setLoggingServiceCallable()

public UnaryCallable<SetLoggingServiceRequest,Operation> setLoggingServiceCallable()
Overrides

setMaintenancePolicyCallable()

public UnaryCallable<SetMaintenancePolicyRequest,Operation> setMaintenancePolicyCallable()
Overrides

setMasterAuthCallable()

public UnaryCallable<SetMasterAuthRequest,Operation> setMasterAuthCallable()
Overrides

setMonitoringServiceCallable()

public UnaryCallable<SetMonitoringServiceRequest,Operation> setMonitoringServiceCallable()
Overrides

setNetworkPolicyCallable()

public UnaryCallable<SetNetworkPolicyRequest,Operation> setNetworkPolicyCallable()
Overrides

setNodePoolAutoscalingCallable()

public UnaryCallable<SetNodePoolAutoscalingRequest,Operation> setNodePoolAutoscalingCallable()
Overrides

setNodePoolManagementCallable()

public UnaryCallable<SetNodePoolManagementRequest,Operation> setNodePoolManagementCallable()
Overrides

setNodePoolSizeCallable()

public UnaryCallable<SetNodePoolSizeRequest,Operation> setNodePoolSizeCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startIPRotationCallable()

public UnaryCallable<StartIPRotationRequest,Operation> startIPRotationCallable()
Overrides

updateClusterCallable()

public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Overrides

updateMasterCallable()

public UnaryCallable<UpdateMasterRequest,Operation> updateMasterCallable()
Overrides

updateNodePoolCallable()

public UnaryCallable<UpdateNodePoolRequest,Operation> updateNodePoolCallable()
Overrides