Class GrpcClusterManagerStub (2.14.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
TypeDescription
UnaryCallable<CancelOperationRequest,Empty>
Overrides

close()

public final void close()
Overrides

completeIPRotationCallable()

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

completeNodePoolUpgradeCallable()

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

createClusterCallable()

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

createNodePoolCallable()

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

deleteClusterCallable()

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

deleteNodePoolCallable()

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

getClusterCallable()

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

getJSONWebKeysCallable()

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

getNodePoolCallable()

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

getOperationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getServerConfigCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listClustersCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<ListLocationsRequest,ListLocationsResponse>
Overrides

listNodePoolsCallable()

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

listOperationsCallable()

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

listUsableSubnetworksCallable()

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

listUsableSubnetworksPagedCallable()

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

rollbackNodePoolUpgradeCallable()

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

setAddonsConfigCallable()

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

setLabelsCallable()

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

setLegacyAbacCallable()

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

setLocationsCallable()

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

setLoggingServiceCallable()

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

setMaintenancePolicyCallable()

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

setMasterAuthCallable()

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

setMonitoringServiceCallable()

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

setNetworkPolicyCallable()

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

setNodePoolAutoscalingCallable()

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

setNodePoolManagementCallable()

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

setNodePoolSizeCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startIPRotationCallable()

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

updateClusterCallable()

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

updateMasterCallable()

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

updateNodePoolCallable()

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