Send feedback
Class TpuStub (2.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.12.0 keyboard_arrow_down
public abstract class TpuStub implements BackgroundResource
Base stub class for the Tpu service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
TpuStub()
Methods
close()
public abstract void close ()
createNodeCallable()
public UnaryCallable<CreateNodeRequest , Operation > createNodeCallable ()
Returns
createNodeOperationCallable()
public OperationCallable<CreateNodeRequest , Node , OperationMetadata > createNodeOperationCallable ()
Returns
createQueuedResourceCallable()
public UnaryCallable<CreateQueuedResourceRequest , Operation > createQueuedResourceCallable ()
Returns
createQueuedResourceOperationCallable()
public OperationCallable<CreateQueuedResourceRequest , QueuedResource , OperationMetadata > createQueuedResourceOperationCallable ()
Returns
deleteNodeCallable()
public UnaryCallable<DeleteNodeRequest , Operation > deleteNodeCallable ()
Returns
deleteNodeOperationCallable()
public OperationCallable<DeleteNodeRequest , Empty , OperationMetadata > deleteNodeOperationCallable ()
Returns
deleteQueuedResourceCallable()
public UnaryCallable<DeleteQueuedResourceRequest , Operation > deleteQueuedResourceCallable ()
Returns
deleteQueuedResourceOperationCallable()
public OperationCallable<DeleteQueuedResourceRequest , QueuedResource , OperationMetadata > deleteQueuedResourceOperationCallable ()
Returns
generateServiceIdentityCallable()
public UnaryCallable<GenerateServiceIdentityRequest , GenerateServiceIdentityResponse > generateServiceIdentityCallable ()
Returns
getAcceleratorTypeCallable()
public UnaryCallable<GetAcceleratorTypeRequest , AcceleratorType > getAcceleratorTypeCallable ()
Returns
getGuestAttributesCallable()
public UnaryCallable<GetGuestAttributesRequest , GetGuestAttributesResponse > getGuestAttributesCallable ()
Returns
getLocationCallable()
public UnaryCallable<GetLocationRequest , Location > getLocationCallable ()
Returns
Type Description UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
getNodeCallable()
public UnaryCallable<GetNodeRequest , Node > getNodeCallable ()
Returns
getOperationsStub()
public OperationsStub getOperationsStub ()
Returns
getQueuedResourceCallable()
public UnaryCallable<GetQueuedResourceRequest , QueuedResource > getQueuedResourceCallable ()
Returns
getRuntimeVersionCallable()
public UnaryCallable<GetRuntimeVersionRequest , RuntimeVersion > getRuntimeVersionCallable ()
Returns
listAcceleratorTypesCallable()
public UnaryCallable<ListAcceleratorTypesRequest , ListAcceleratorTypesResponse > listAcceleratorTypesCallable ()
Returns
listAcceleratorTypesPagedCallable()
public UnaryCallable<ListAcceleratorTypesRequest , TpuClient . ListAcceleratorTypesPagedResponse > listAcceleratorTypesPagedCallable ()
Returns
listLocationsCallable()
public UnaryCallable<ListLocationsRequest , ListLocationsResponse > listLocationsCallable ()
Returns
Type Description UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest , TpuClient . ListLocationsPagedResponse > listLocationsPagedCallable ()
Returns
listNodesCallable()
public UnaryCallable<ListNodesRequest , ListNodesResponse > listNodesCallable ()
Returns
listNodesPagedCallable()
public UnaryCallable<ListNodesRequest , TpuClient . ListNodesPagedResponse > listNodesPagedCallable ()
Returns
listQueuedResourcesCallable()
public UnaryCallable<ListQueuedResourcesRequest , ListQueuedResourcesResponse > listQueuedResourcesCallable ()
Returns
listQueuedResourcesPagedCallable()
public UnaryCallable<ListQueuedResourcesRequest , TpuClient . ListQueuedResourcesPagedResponse > listQueuedResourcesPagedCallable ()
Returns
listRuntimeVersionsCallable()
public UnaryCallable<ListRuntimeVersionsRequest , ListRuntimeVersionsResponse > listRuntimeVersionsCallable ()
Returns
listRuntimeVersionsPagedCallable()
public UnaryCallable<ListRuntimeVersionsRequest , TpuClient . ListRuntimeVersionsPagedResponse > listRuntimeVersionsPagedCallable ()
Returns
simulateMaintenanceEventCallable()
public UnaryCallable<SimulateMaintenanceEventRequest , Operation > simulateMaintenanceEventCallable ()
Returns
simulateMaintenanceEventOperationCallable()
public OperationCallable<SimulateMaintenanceEventRequest , Node , OperationMetadata > simulateMaintenanceEventOperationCallable ()
Returns
startNodeCallable()
public UnaryCallable<StartNodeRequest , Operation > startNodeCallable ()
Returns
startNodeOperationCallable()
public OperationCallable<StartNodeRequest , Node , OperationMetadata > startNodeOperationCallable ()
Returns
stopNodeCallable()
public UnaryCallable<StopNodeRequest , Operation > stopNodeCallable ()
Returns
stopNodeOperationCallable()
public OperationCallable<StopNodeRequest , Node , OperationMetadata > stopNodeOperationCallable ()
Returns
updateNodeCallable()
public UnaryCallable<UpdateNodeRequest , Operation > updateNodeCallable ()
Returns
updateNodeOperationCallable()
public OperationCallable<UpdateNodeRequest , Node , OperationMetadata > updateNodeOperationCallable ()
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[],[]]