- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.2.6
public
final
class
TpuGrpc
Manages TPU nodes and other resources TPU API v2
Static Fields
SERVICE_NAME
public
static
final
String
SERVICE_NAME
Static Methods
bindService(TpuGrpc.AsyncService service)
public
static
final
ServerServiceDefinition
bindService
(
TpuGrpc
.
AsyncService
service
)
Returns
Type
Description
io.grpc.ServerServiceDefinition
getCreateNodeMethod()
public
static
MethodDescriptor<CreateNodeRequest
,
Operation
>
getCreateNodeMethod
()
getCreateQueuedResourceMethod()
public
static
MethodDescriptor<CreateQueuedResourceRequest
,
Operation
>
getCreateQueuedResourceMethod
()
getDeleteNodeMethod()
public
static
MethodDescriptor<DeleteNodeRequest
,
Operation
>
getDeleteNodeMethod
()
getDeleteQueuedResourceMethod()
public
static
MethodDescriptor<DeleteQueuedResourceRequest
,
Operation
>
getDeleteQueuedResourceMethod
()
getGenerateServiceIdentityMethod()
public
static
MethodDescriptor<GenerateServiceIdentityRequest
,
GenerateServiceIdentityResponse
>
getGenerateServiceIdentityMethod
()
Returns
Type
Description
io.grpc.MethodDescriptor
< GenerateServiceIdentityRequest
, GenerateServiceIdentityResponse
>
getGetAcceleratorTypeMethod()
public
static
MethodDescriptor<GetAcceleratorTypeRequest
,
AcceleratorType
>
getGetAcceleratorTypeMethod
()
getGetGuestAttributesMethod()
public
static
MethodDescriptor<GetGuestAttributesRequest
,
GetGuestAttributesResponse
>
getGetGuestAttributesMethod
()
Returns
Type
Description
io.grpc.MethodDescriptor
< GetGuestAttributesRequest
, GetGuestAttributesResponse
>
getGetNodeMethod()
public
static
MethodDescriptor<GetNodeRequest
,
Node
>
getGetNodeMethod
()
getGetQueuedResourceMethod()
public
static
MethodDescriptor<GetQueuedResourceRequest
,
QueuedResource
>
getGetQueuedResourceMethod
()
getGetRuntimeVersionMethod()
public
static
MethodDescriptor<GetRuntimeVersionRequest
,
RuntimeVersion
>
getGetRuntimeVersionMethod
()
getListAcceleratorTypesMethod()
public
static
MethodDescriptor<ListAcceleratorTypesRequest
,
ListAcceleratorTypesResponse
>
getListAcceleratorTypesMethod
()
Returns
Type
Description
io.grpc.MethodDescriptor
< ListAcceleratorTypesRequest
, ListAcceleratorTypesResponse
>
getListNodesMethod()
public
static
MethodDescriptor<ListNodesRequest
,
ListNodesResponse
>
getListNodesMethod
()
getListQueuedResourcesMethod()
public
static
MethodDescriptor<ListQueuedResourcesRequest
,
ListQueuedResourcesResponse
>
getListQueuedResourcesMethod
()
Returns
Type
Description
io.grpc.MethodDescriptor
< ListQueuedResourcesRequest
, ListQueuedResourcesResponse
>
getListRuntimeVersionsMethod()
public
static
MethodDescriptor<ListRuntimeVersionsRequest
,
ListRuntimeVersionsResponse
>
getListRuntimeVersionsMethod
()
Returns
Type
Description
io.grpc.MethodDescriptor
< ListRuntimeVersionsRequest
, ListRuntimeVersionsResponse
>
getResetQueuedResourceMethod()
public
static
MethodDescriptor<ResetQueuedResourceRequest
,
Operation
>
getResetQueuedResourceMethod
()
getServiceDescriptor()
public
static
ServiceDescriptor
getServiceDescriptor
()
Returns
Type
Description
io.grpc.ServiceDescriptor
getStartNodeMethod()
public
static
MethodDescriptor<StartNodeRequest
,
Operation
>
getStartNodeMethod
()
getStopNodeMethod()
public
static
MethodDescriptor<StopNodeRequest
,
Operation
>
getStopNodeMethod
()
getUpdateNodeMethod()
public
static
MethodDescriptor<UpdateNodeRequest
,
Operation
>
getUpdateNodeMethod
()
newBlockingStub(Channel channel)
public
static
TpuGrpc
.
TpuBlockingStub
newBlockingStub
(
Channel
channel
)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
newBlockingV2Stub(Channel channel)
public
static
TpuGrpc
.
TpuBlockingV2Stub
newBlockingV2Stub
(
Channel
channel
)
Creates a new blocking-style stub that supports all types of calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
newFutureStub(Channel channel)
public
static
TpuGrpc
.
TpuFutureStub
newFutureStub
(
Channel
channel
)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
newStub(Channel channel)
public
static
TpuGrpc
.
TpuStub
newStub
(
Channel
channel
)
Creates a new async stub that supports all call types for the service
Parameter
Name
Description
channel
io.grpc.Channel