Package com.google.cloud.tpu.v2
Class TpuGrpc
- java.lang.Object
-
- com.google.cloud.tpu.v2.TpuGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/tpu/v2/cloud_tpu.proto") public final class TpuGrpc extends Object
Manages TPU nodes and other resources TPU API v2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TpuGrpc.AsyncService
Manages TPU nodes and other resources TPU API v2static class
TpuGrpc.TpuBlockingStub
A stub to allow clients to do synchronous rpc calls to service Tpu.static class
TpuGrpc.TpuFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service Tpu.static class
TpuGrpc.TpuImplBase
Base class for the server implementation of the service Tpu.static class
TpuGrpc.TpuStub
A stub to allow clients to do asynchronous rpc calls to service Tpu.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(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<GenerateServiceIdentityRequest,GenerateServiceIdentityResponse>
getGenerateServiceIdentityMethod()
static io.grpc.MethodDescriptor<GetAcceleratorTypeRequest,AcceleratorType>
getGetAcceleratorTypeMethod()
static io.grpc.MethodDescriptor<GetGuestAttributesRequest,GetGuestAttributesResponse>
getGetGuestAttributesMethod()
static io.grpc.MethodDescriptor<GetNodeRequest,Node>
getGetNodeMethod()
static io.grpc.MethodDescriptor<GetRuntimeVersionRequest,RuntimeVersion>
getGetRuntimeVersionMethod()
static io.grpc.MethodDescriptor<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse>
getListAcceleratorTypesMethod()
static io.grpc.MethodDescriptor<ListNodesRequest,ListNodesResponse>
getListNodesMethod()
static io.grpc.MethodDescriptor<ListRuntimeVersionsRequest,ListRuntimeVersionsResponse>
getListRuntimeVersionsMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static io.grpc.MethodDescriptor<StartNodeRequest,com.google.longrunning.Operation>
getStartNodeMethod()
static io.grpc.MethodDescriptor<StopNodeRequest,com.google.longrunning.Operation>
getStopNodeMethod()
static io.grpc.MethodDescriptor<UpdateNodeRequest,com.google.longrunning.Operation>
getUpdateNodeMethod()
static TpuGrpc.TpuBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic TpuGrpc.TpuFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic TpuGrpc.TpuStub
newStub(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()
-
getStopNodeMethod
public static io.grpc.MethodDescriptor<StopNodeRequest,com.google.longrunning.Operation> getStopNodeMethod()
-
getStartNodeMethod
public static io.grpc.MethodDescriptor<StartNodeRequest,com.google.longrunning.Operation> getStartNodeMethod()
-
getUpdateNodeMethod
public static io.grpc.MethodDescriptor<UpdateNodeRequest,com.google.longrunning.Operation> getUpdateNodeMethod()
-
getGenerateServiceIdentityMethod
public static io.grpc.MethodDescriptor<GenerateServiceIdentityRequest,GenerateServiceIdentityResponse> getGenerateServiceIdentityMethod()
-
getListAcceleratorTypesMethod
public static io.grpc.MethodDescriptor<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse> getListAcceleratorTypesMethod()
-
getGetAcceleratorTypeMethod
public static io.grpc.MethodDescriptor<GetAcceleratorTypeRequest,AcceleratorType> getGetAcceleratorTypeMethod()
-
getListRuntimeVersionsMethod
public static io.grpc.MethodDescriptor<ListRuntimeVersionsRequest,ListRuntimeVersionsResponse> getListRuntimeVersionsMethod()
-
getGetRuntimeVersionMethod
public static io.grpc.MethodDescriptor<GetRuntimeVersionRequest,RuntimeVersion> getGetRuntimeVersionMethod()
-
getGetGuestAttributesMethod
public static io.grpc.MethodDescriptor<GetGuestAttributesRequest,GetGuestAttributesResponse> getGetGuestAttributesMethod()
-
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()
-
-