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.
Static Methods
create(ClientContext clientContext)
public static final GrpcClusterManagerStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcClusterManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ClusterManagerStubSettings settings)
public static final GrpcClusterManagerStub create(ClusterManagerStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
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
getServerConfigCallable()
public UnaryCallable<GetServerConfigRequest,ServerConfig> getServerConfigCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Returns
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
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()
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