Package com.google.cloud.tpu.v1
Class TpuGrpc.TpuBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TpuGrpc.TpuBlockingStub>
com.google.cloud.tpu.v1.TpuGrpc.TpuBlockingStub
- Enclosing class:
- TpuGrpc
public static final class TpuGrpc.TpuBlockingStub
extends io.grpc.stub.AbstractBlockingStub<TpuGrpc.TpuBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Tpu.
Manages TPU nodes and other resources TPU API v1
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected TpuGrpc.TpuBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createNode(CreateNodeRequest request) Creates a node.deleteNode(DeleteNodeRequest request) Deletes a node.Gets AcceleratorType.getNode(GetNodeRequest request) Gets the details of a node.Gets TensorFlow Version.Lists accelerator types supported by this API.listNodes(ListNodesRequest request) Lists nodes.List TensorFlow versions supported by this API.reimageNode(ReimageNodeRequest request) Reimages a node's OS.startNode(StartNodeRequest request) Starts a node.stopNode(StopNodeRequest request) Stops a node, this operation is only available with single TPU nodes.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<TpuGrpc.TpuBlockingStub>
-
listNodes
Lists nodes.
-
getNode
Gets the details of a node.
-
createNode
Creates a node.
-
deleteNode
Deletes a node.
-
reimageNode
Reimages a node's OS.
-
stopNode
Stops a node, this operation is only available with single TPU nodes.
-
startNode
Starts a node.
-
listTensorFlowVersions
List TensorFlow versions supported by this API.
-
getTensorFlowVersion
Gets TensorFlow Version.
-
listAcceleratorTypes
Lists accelerator types supported by this API.
-
getAcceleratorType
Gets AcceleratorType.
-