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
deleteNodeCallable()
public UnaryCallable<DeleteNodeRequest,Operation> deleteNodeCallable()
Returns
deleteNodeOperationCallable()
public OperationCallable<DeleteNodeRequest,Node,OperationMetadata> deleteNodeOperationCallable()
Returns
getAcceleratorTypeCallable()
public UnaryCallable<GetAcceleratorTypeRequest,AcceleratorType> getAcceleratorTypeCallable()
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
getTensorFlowVersionCallable()
public UnaryCallable<GetTensorFlowVersionRequest,TensorFlowVersion> getTensorFlowVersionCallable()
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
listTensorFlowVersionsCallable()
public UnaryCallable<ListTensorFlowVersionsRequest,ListTensorFlowVersionsResponse> listTensorFlowVersionsCallable()
Returns
listTensorFlowVersionsPagedCallable()
public UnaryCallable<ListTensorFlowVersionsRequest,TpuClient.ListTensorFlowVersionsPagedResponse> listTensorFlowVersionsPagedCallable()
Returns
reimageNodeCallable()
public UnaryCallable<ReimageNodeRequest,Operation> reimageNodeCallable()
Returns
reimageNodeOperationCallable()
public OperationCallable<ReimageNodeRequest,Node,OperationMetadata> reimageNodeOperationCallable()
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