Package com.google.cloud.tpu.v1
Class TpuGrpc
- java.lang.Object
-
- com.google.cloud.tpu.v1.TpuGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/tpu/v1/cloud_tpu.proto") public final class TpuGrpc extends Object
Manages TPU nodes and other resources TPU API v1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTpuGrpc.AsyncServiceManages TPU nodes and other resources TPU API v1static classTpuGrpc.TpuBlockingStubA stub to allow clients to do synchronous rpc calls to service Tpu.static classTpuGrpc.TpuFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Tpu.static classTpuGrpc.TpuImplBaseBase class for the server implementation of the service Tpu.static classTpuGrpc.TpuStubA stub to allow clients to do asynchronous rpc calls to service Tpu.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(TpuGrpc.AsyncService service)static io.grpc.MethodDescriptor<CreateNodeRequest,com.google.longrunning.Operation>getCreateNodeMethod()static io.grpc.MethodDescriptor<DeleteNodeRequest,com.google.longrunning.Operation>getDeleteNodeMethod()static io.grpc.MethodDescriptor<GetAcceleratorTypeRequest,AcceleratorType>getGetAcceleratorTypeMethod()static io.grpc.MethodDescriptor<GetNodeRequest,Node>getGetNodeMethod()static io.grpc.MethodDescriptor<GetTensorFlowVersionRequest,TensorFlowVersion>getGetTensorFlowVersionMethod()static io.grpc.MethodDescriptor<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse>getListAcceleratorTypesMethod()static io.grpc.MethodDescriptor<ListNodesRequest,ListNodesResponse>getListNodesMethod()static io.grpc.MethodDescriptor<ListTensorFlowVersionsRequest,ListTensorFlowVersionsResponse>getListTensorFlowVersionsMethod()static io.grpc.MethodDescriptor<ReimageNodeRequest,com.google.longrunning.Operation>getReimageNodeMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<StartNodeRequest,com.google.longrunning.Operation>getStartNodeMethod()static io.grpc.MethodDescriptor<StopNodeRequest,com.google.longrunning.Operation>getStopNodeMethod()static TpuGrpc.TpuBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output 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 Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getListNodesMethod
public static io.grpc.MethodDescriptor<ListNodesRequest,ListNodesResponse> getListNodesMethod()
-
getGetNodeMethod
public static io.grpc.MethodDescriptor<GetNodeRequest,Node> getGetNodeMethod()
-
getCreateNodeMethod
public static io.grpc.MethodDescriptor<CreateNodeRequest,com.google.longrunning.Operation> getCreateNodeMethod()
-
getDeleteNodeMethod
public static io.grpc.MethodDescriptor<DeleteNodeRequest,com.google.longrunning.Operation> getDeleteNodeMethod()
-
getReimageNodeMethod
public static io.grpc.MethodDescriptor<ReimageNodeRequest,com.google.longrunning.Operation> getReimageNodeMethod()
-
getStopNodeMethod
public static io.grpc.MethodDescriptor<StopNodeRequest,com.google.longrunning.Operation> getStopNodeMethod()
-
getStartNodeMethod
public static io.grpc.MethodDescriptor<StartNodeRequest,com.google.longrunning.Operation> 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
public static TpuGrpc.TpuStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static TpuGrpc.TpuBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static TpuGrpc.TpuFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(TpuGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-