public static final class TpuGrpc.TpuBlockingStub extends io.grpc.stub.AbstractBlockingStub<TpuGrpc.TpuBlockingStub>
Manages TPU nodes and other resources TPU API v2
| Modifier and Type | Method and Description |
|---|---|
protected TpuGrpc.TpuBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.longrunning.Operation |
createNode(CreateNodeRequest request)
Creates a node.
|
com.google.longrunning.Operation |
deleteNode(DeleteNodeRequest request)
Deletes a node.
|
GenerateServiceIdentityResponse |
generateServiceIdentity(GenerateServiceIdentityRequest request)
Generates the Cloud TPU service identity for the project.
|
AcceleratorType |
getAcceleratorType(GetAcceleratorTypeRequest request)
Gets AcceleratorType.
|
GetGuestAttributesResponse |
getGuestAttributes(GetGuestAttributesRequest request)
Retrieves the guest attributes for the node.
|
Node |
getNode(GetNodeRequest request)
Gets the details of a node.
|
RuntimeVersion |
getRuntimeVersion(GetRuntimeVersionRequest request)
Gets a runtime version.
|
ListAcceleratorTypesResponse |
listAcceleratorTypes(ListAcceleratorTypesRequest request)
Lists accelerator types supported by this API.
|
ListNodesResponse |
listNodes(ListNodesRequest request)
Lists nodes.
|
ListRuntimeVersionsResponse |
listRuntimeVersions(ListRuntimeVersionsRequest request)
Lists runtime versions supported by this API.
|
com.google.longrunning.Operation |
startNode(StartNodeRequest request)
Starts a node.
|
com.google.longrunning.Operation |
stopNode(StopNodeRequest request)
Stops a node.
|
com.google.longrunning.Operation |
updateNode(UpdateNodeRequest request)
Updates the configurations of a node.
|
protected TpuGrpc.TpuBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<TpuGrpc.TpuBlockingStub>public ListNodesResponse listNodes(ListNodesRequest request)
Lists nodes.
public Node getNode(GetNodeRequest request)
Gets the details of a node.
public com.google.longrunning.Operation createNode(CreateNodeRequest request)
Creates a node.
public com.google.longrunning.Operation deleteNode(DeleteNodeRequest request)
Deletes a node.
public com.google.longrunning.Operation stopNode(StopNodeRequest request)
Stops a node. This operation is only available with single TPU nodes.
public com.google.longrunning.Operation startNode(StartNodeRequest request)
Starts a node.
public com.google.longrunning.Operation updateNode(UpdateNodeRequest request)
Updates the configurations of a node.
public GenerateServiceIdentityResponse generateServiceIdentity(GenerateServiceIdentityRequest request)
Generates the Cloud TPU service identity for the project.
public ListAcceleratorTypesResponse listAcceleratorTypes(ListAcceleratorTypesRequest request)
Lists accelerator types supported by this API.
public AcceleratorType getAcceleratorType(GetAcceleratorTypeRequest request)
Gets AcceleratorType.
public ListRuntimeVersionsResponse listRuntimeVersions(ListRuntimeVersionsRequest request)
Lists runtime versions supported by this API.
public RuntimeVersion getRuntimeVersion(GetRuntimeVersionRequest request)
Gets a runtime version.
public GetGuestAttributesResponse getGuestAttributes(GetGuestAttributesRequest request)
Retrieves the guest attributes for the node.
Copyright © 2023 Google LLC. All rights reserved.