Class GrpcClusterManagerStub (2.47.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcClusterManagerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcClusterManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcClusterManagerStub
Exceptions
Type Description
IOException

create(ClusterManagerStubSettings settings)

public static final GrpcClusterManagerStub create(ClusterManagerStubSettings settings)
Parameter
Name Description
settings ClusterManagerStubSettings
Returns
Type Description
GrpcClusterManagerStub
Exceptions
Type Description
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
Name Description
settings ClusterManagerStubSettings
clientContext ClientContext

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
Name Description
settings ClusterManagerStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelOperationCallable()

public UnaryCallable<CancelOperationRequest,Empty> cancelOperationCallable()
Returns
Type Description
UnaryCallable<CancelOperationRequest,Empty>
Overrides

checkAutopilotCompatibilityCallable()

public UnaryCallable<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse> checkAutopilotCompatibilityCallable()
Returns
Type Description
UnaryCallable<CheckAutopilotCompatibilityRequest,CheckAutopilotCompatibilityResponse>
Overrides

close()

public final void close()
Overrides

completeIPRotationCallable()

public UnaryCallable<CompleteIPRotationRequest,Operation> completeIPRotationCallable()
Returns
Type Description
UnaryCallable<CompleteIPRotationRequest,Operation>
Overrides

completeNodePoolUpgradeCallable()

public UnaryCallable<CompleteNodePoolUpgradeRequest,Empty> completeNodePoolUpgradeCallable()
Returns
Type Description
UnaryCallable<CompleteNodePoolUpgradeRequest,Empty>
Overrides

createClusterCallable()

public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Returns
Type Description
UnaryCallable<CreateClusterRequest,Operation>
Overrides

createNodePoolCallable()

public UnaryCallable<CreateNodePoolRequest,Operation> createNodePoolCallable()
Returns
Type Description
UnaryCallable<CreateNodePoolRequest,Operation>
Overrides

deleteClusterCallable()

public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Returns
Type Description
UnaryCallable<DeleteClusterRequest,Operation>
Overrides

deleteNodePoolCallable()

public UnaryCallable<DeleteNodePoolRequest,Operation> deleteNodePoolCallable()
Returns
Type Description
UnaryCallable<DeleteNodePoolRequest,Operation>
Overrides

getClusterCallable()

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

getJSONWebKeysCallable()

public UnaryCallable<GetJSONWebKeysRequest,GetJSONWebKeysResponse> getJSONWebKeysCallable()
Returns
Type Description
UnaryCallable<GetJSONWebKeysRequest,GetJSONWebKeysResponse>
Overrides

getNodePoolCallable()

public UnaryCallable<GetNodePoolRequest,NodePool> getNodePoolCallable()
Returns
Type Description
UnaryCallable<GetNodePoolRequest,NodePool>
Overrides

getOperationCallable()

public UnaryCallable<GetOperationRequest,Operation> getOperationCallable()
Returns
Type Description
UnaryCallable<GetOperationRequest,Operation>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getServerConfigCallable()

public UnaryCallable<GetServerConfigRequest,ServerConfig> getServerConfigCallable()
Returns
Type Description
UnaryCallable<GetServerConfigRequest,ServerConfig>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listClustersCallable()

public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Returns
Type Description
UnaryCallable<ListClustersRequest,ListClustersResponse>
Overrides

listNodePoolsCallable()

public UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsCallable()
Returns
Type Description
UnaryCallable<ListNodePoolsRequest,ListNodePoolsResponse>
Overrides

listOperationsCallable()

public UnaryCallable<ListOperationsRequest,ListOperationsResponse> listOperationsCallable()
Returns
Type Description
UnaryCallable<ListOperationsRequest,ListOperationsResponse>
Overrides

listUsableSubnetworksCallable()

public UnaryCallable<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse> listUsableSubnetworksCallable()
Returns
Type Description
UnaryCallable<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse>
Overrides

listUsableSubnetworksPagedCallable()

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

rollbackNodePoolUpgradeCallable()

public UnaryCallable<RollbackNodePoolUpgradeRequest,Operation> rollbackNodePoolUpgradeCallable()
Returns
Type Description
UnaryCallable<RollbackNodePoolUpgradeRequest,Operation>
Overrides

setAddonsConfigCallable()

public UnaryCallable<SetAddonsConfigRequest,Operation> setAddonsConfigCallable()
Returns
Type Description
UnaryCallable<SetAddonsConfigRequest,Operation>
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsRequest,Operation> setLabelsCallable()
Returns
Type Description
UnaryCallable<SetLabelsRequest,Operation>
Overrides

setLegacyAbacCallable()

public UnaryCallable<SetLegacyAbacRequest,Operation> setLegacyAbacCallable()
Returns
Type Description
UnaryCallable<SetLegacyAbacRequest,Operation>
Overrides

setLocationsCallable()

public UnaryCallable<SetLocationsRequest,Operation> setLocationsCallable()
Returns
Type Description
UnaryCallable<SetLocationsRequest,Operation>
Overrides

setLoggingServiceCallable()

public UnaryCallable<SetLoggingServiceRequest,Operation> setLoggingServiceCallable()
Returns
Type Description
UnaryCallable<SetLoggingServiceRequest,Operation>
Overrides

setMaintenancePolicyCallable()

public UnaryCallable<SetMaintenancePolicyRequest,Operation> setMaintenancePolicyCallable()
Returns
Type Description
UnaryCallable<SetMaintenancePolicyRequest,Operation>
Overrides

setMasterAuthCallable()

public UnaryCallable<SetMasterAuthRequest,Operation> setMasterAuthCallable()
Returns
Type Description
UnaryCallable<SetMasterAuthRequest,Operation>
Overrides

setMonitoringServiceCallable()

public UnaryCallable<SetMonitoringServiceRequest,Operation> setMonitoringServiceCallable()
Returns
Type Description
UnaryCallable<SetMonitoringServiceRequest,Operation>
Overrides

setNetworkPolicyCallable()

public UnaryCallable<SetNetworkPolicyRequest,Operation> setNetworkPolicyCallable()
Returns
Type Description
UnaryCallable<SetNetworkPolicyRequest,Operation>
Overrides

setNodePoolAutoscalingCallable()

public UnaryCallable<SetNodePoolAutoscalingRequest,Operation> setNodePoolAutoscalingCallable()
Returns
Type Description
UnaryCallable<SetNodePoolAutoscalingRequest,Operation>
Overrides

setNodePoolManagementCallable()

public UnaryCallable<SetNodePoolManagementRequest,Operation> setNodePoolManagementCallable()
Returns
Type Description
UnaryCallable<SetNodePoolManagementRequest,Operation>
Overrides

setNodePoolSizeCallable()

public UnaryCallable<SetNodePoolSizeRequest,Operation> setNodePoolSizeCallable()
Returns
Type Description
UnaryCallable<SetNodePoolSizeRequest,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startIPRotationCallable()

public UnaryCallable<StartIPRotationRequest,Operation> startIPRotationCallable()
Returns
Type Description
UnaryCallable<StartIPRotationRequest,Operation>
Overrides

updateClusterCallable()

public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Returns
Type Description
UnaryCallable<UpdateClusterRequest,Operation>
Overrides

updateMasterCallable()

public UnaryCallable<UpdateMasterRequest,Operation> updateMasterCallable()
Returns
Type Description
UnaryCallable<UpdateMasterRequest,Operation>
Overrides

updateNodePoolCallable()

public UnaryCallable<UpdateNodePoolRequest,Operation> updateNodePoolCallable()
Returns
Type Description
UnaryCallable<UpdateNodePoolRequest,Operation>
Overrides