Class TpuStub (2.24.0)

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.

Inheritance

java.lang.Object > TpuStub

Implements

BackgroundResource

Constructors

TpuStub()

public 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
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getNodeCallable()

public UnaryCallable<GetNodeRequest,Node> getNodeCallable()
Returns
TypeDescription
UnaryCallable<GetNodeRequest,Node>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

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
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,TpuClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

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()
Returns
TypeDescription
UnaryCallable<StopNodeRequest,Operation>

stopNodeOperationCallable()

public OperationCallable<StopNodeRequest,Node,OperationMetadata> stopNodeOperationCallable()