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()
createNodeOperationCallable()
public OperationCallable<CreateNodeRequest,Node,OperationMetadata> createNodeOperationCallable()
deleteNodeCallable()
public UnaryCallable<DeleteNodeRequest,Operation> deleteNodeCallable()
deleteNodeOperationCallable()
public OperationCallable<DeleteNodeRequest,Node,OperationMetadata> deleteNodeOperationCallable()
getAcceleratorTypeCallable()
public UnaryCallable<GetAcceleratorTypeRequest,AcceleratorType> getAcceleratorTypeCallable()
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()
getOperationsStub()
public OperationsStub getOperationsStub()
getTensorFlowVersionCallable()
public UnaryCallable<GetTensorFlowVersionRequest,TensorFlowVersion> getTensorFlowVersionCallable()
listAcceleratorTypesCallable()
public UnaryCallable<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse> listAcceleratorTypesCallable()
listAcceleratorTypesPagedCallable()
public UnaryCallable<ListAcceleratorTypesRequest,TpuClient.ListAcceleratorTypesPagedResponse> listAcceleratorTypesPagedCallable()
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()
listNodesCallable()
public UnaryCallable<ListNodesRequest,ListNodesResponse> listNodesCallable()
listNodesPagedCallable()
public UnaryCallable<ListNodesRequest,TpuClient.ListNodesPagedResponse> listNodesPagedCallable()
listTensorFlowVersionsCallable()
public UnaryCallable<ListTensorFlowVersionsRequest,ListTensorFlowVersionsResponse> listTensorFlowVersionsCallable()
listTensorFlowVersionsPagedCallable()
public UnaryCallable<ListTensorFlowVersionsRequest,TpuClient.ListTensorFlowVersionsPagedResponse> listTensorFlowVersionsPagedCallable()
reimageNodeCallable()
public UnaryCallable<ReimageNodeRequest,Operation> reimageNodeCallable()
reimageNodeOperationCallable()
public OperationCallable<ReimageNodeRequest,Node,OperationMetadata> reimageNodeOperationCallable()
startNodeCallable()
public UnaryCallable<StartNodeRequest,Operation> startNodeCallable()
startNodeOperationCallable()
public OperationCallable<StartNodeRequest,Node,OperationMetadata> startNodeOperationCallable()
stopNodeCallable()
public UnaryCallable<StopNodeRequest,Operation> stopNodeCallable()
stopNodeOperationCallable()
public OperationCallable<StopNodeRequest,Node,OperationMetadata> stopNodeOperationCallable()