Package com.google.cloud.tpu.v1
Class TpuGrpc
java.lang.Object
com.google.cloud.tpu.v1.TpuGrpc
Manages TPU nodes and other resources TPU API v1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceManages TPU nodes and other resources TPU API v1static final classA stub to allow clients to do limited synchronous rpc calls to service Tpu.static final classA stub to allow clients to do synchronous rpc calls to service Tpu.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service Tpu.static classBase class for the server implementation of the service Tpu.static final classA stub to allow clients to do asynchronous rpc calls to service Tpu. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(TpuGrpc.AsyncService service) static io.grpc.MethodDescriptor<CreateNodeRequest,Operation> static io.grpc.MethodDescriptor<DeleteNodeRequest,Operation> static io.grpc.MethodDescriptor<GetAcceleratorTypeRequest,AcceleratorType> static io.grpc.MethodDescriptor<GetNodeRequest,Node> static io.grpc.MethodDescriptor<GetTensorFlowVersionRequest,TensorFlowVersion> static io.grpc.MethodDescriptor<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse> static io.grpc.MethodDescriptor<ListNodesRequest,ListNodesResponse> static io.grpc.MethodDescriptor<ListTensorFlowVersionsRequest,ListTensorFlowVersionsResponse> static io.grpc.MethodDescriptor<ReimageNodeRequest,Operation> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<StartNodeRequest,Operation> static io.grpc.MethodDescriptor<StopNodeRequest,Operation> static TpuGrpc.TpuBlockingStubnewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic TpuGrpc.TpuBlockingV2StubnewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicestatic TpuGrpc.TpuFutureStubnewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic TpuGrpc.TpuStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getListNodesMethod
-
getGetNodeMethod
-
getCreateNodeMethod
-
getDeleteNodeMethod
-
getReimageNodeMethod
-
getStopNodeMethod
-
getStartNodeMethod
-
getListTensorFlowVersionsMethod
public static io.grpc.MethodDescriptor<ListTensorFlowVersionsRequest,ListTensorFlowVersionsResponse> getListTensorFlowVersionsMethod() -
getGetTensorFlowVersionMethod
public static io.grpc.MethodDescriptor<GetTensorFlowVersionRequest,TensorFlowVersion> getGetTensorFlowVersionMethod() -
getListAcceleratorTypesMethod
public static io.grpc.MethodDescriptor<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse> getListAcceleratorTypesMethod() -
getGetAcceleratorTypeMethod
public static io.grpc.MethodDescriptor<GetAcceleratorTypeRequest,AcceleratorType> getGetAcceleratorTypeMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-