Class GrpcClusterManagerStub (2.15.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()
Returns Overrides

close()

public final void close()
Overrides

completeIPRotationCallable()

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

completeNodePoolUpgradeCallable()

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

createClusterCallable()

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

createNodePoolCallable()

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

deleteClusterCallable()

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

deleteNodePoolCallable()

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

getClusterCallable()

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

getJSONWebKeysCallable()

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

getNodePoolCallable()

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

getOperationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getServerConfigCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listClustersCallable()

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

listNodePoolsCallable()

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

listOperationsCallable()

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

listUsableSubnetworksCallable()

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

listUsableSubnetworksPagedCallable()

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

rollbackNodePoolUpgradeCallable()

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

setAddonsConfigCallable()

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

setLabelsCallable()

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

setLegacyAbacCallable()

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

setLocationsCallable()

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

setLoggingServiceCallable()

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

setMaintenancePolicyCallable()

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

setMasterAuthCallable()

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

setMonitoringServiceCallable()

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

setNetworkPolicyCallable()

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

setNodePoolAutoscalingCallable()

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

setNodePoolManagementCallable()

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

setNodePoolSizeCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startIPRotationCallable()

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

updateClusterCallable()

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

updateMasterCallable()

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

updateNodePoolCallable()

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