Class TpuStub (2.41.0)

public abstract class TpuStub implements BackgroundResource

Base stub class for the Tpu service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > TpuStub

Implements

BackgroundResource

Constructors

TpuStub()

public TpuStub()

Methods

close()

public abstract void close()

createNodeCallable()

public UnaryCallable<CreateNodeRequest,Operation> createNodeCallable()
Returns
TypeDescription
UnaryCallable<CreateNodeRequest,Operation>

createNodeOperationCallable()

public OperationCallable<CreateNodeRequest,Node,OperationMetadata> createNodeOperationCallable()
Returns
TypeDescription
OperationCallable<CreateNodeRequest,Node,OperationMetadata>

createQueuedResourceCallable()

public UnaryCallable<CreateQueuedResourceRequest,Operation> createQueuedResourceCallable()
Returns
TypeDescription
UnaryCallable<CreateQueuedResourceRequest,Operation>

createQueuedResourceOperationCallable()

public OperationCallable<CreateQueuedResourceRequest,QueuedResource,OperationMetadata> createQueuedResourceOperationCallable()
Returns
TypeDescription
OperationCallable<CreateQueuedResourceRequest,QueuedResource,OperationMetadata>

deleteNodeCallable()

public UnaryCallable<DeleteNodeRequest,Operation> deleteNodeCallable()
Returns
TypeDescription
UnaryCallable<DeleteNodeRequest,Operation>

deleteNodeOperationCallable()

public OperationCallable<DeleteNodeRequest,Empty,OperationMetadata> deleteNodeOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteNodeRequest,Empty,OperationMetadata>

deleteQueuedResourceCallable()

public UnaryCallable<DeleteQueuedResourceRequest,Operation> deleteQueuedResourceCallable()
Returns
TypeDescription
UnaryCallable<DeleteQueuedResourceRequest,Operation>

deleteQueuedResourceOperationCallable()

public OperationCallable<DeleteQueuedResourceRequest,QueuedResource,OperationMetadata> deleteQueuedResourceOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteQueuedResourceRequest,QueuedResource,OperationMetadata>

generateServiceIdentityCallable()

public UnaryCallable<GenerateServiceIdentityRequest,GenerateServiceIdentityResponse> generateServiceIdentityCallable()
Returns
TypeDescription
UnaryCallable<GenerateServiceIdentityRequest,GenerateServiceIdentityResponse>

getAcceleratorTypeCallable()

public UnaryCallable<GetAcceleratorTypeRequest,AcceleratorType> getAcceleratorTypeCallable()
Returns
TypeDescription
UnaryCallable<GetAcceleratorTypeRequest,AcceleratorType>

getGuestAttributesCallable()

public UnaryCallable<GetGuestAttributesRequest,GetGuestAttributesResponse> getGuestAttributesCallable()
Returns
TypeDescription
UnaryCallable<GetGuestAttributesRequest,GetGuestAttributesResponse>

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getNodeCallable()

public UnaryCallable<GetNodeRequest,Node> getNodeCallable()
Returns
TypeDescription
UnaryCallable<GetNodeRequest,Node>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

getQueuedResourceCallable()

public UnaryCallable<GetQueuedResourceRequest,QueuedResource> getQueuedResourceCallable()
Returns
TypeDescription
UnaryCallable<GetQueuedResourceRequest,QueuedResource>

getRuntimeVersionCallable()

public UnaryCallable<GetRuntimeVersionRequest,RuntimeVersion> getRuntimeVersionCallable()
Returns
TypeDescription
UnaryCallable<GetRuntimeVersionRequest,RuntimeVersion>

listAcceleratorTypesCallable()

public UnaryCallable<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse> listAcceleratorTypesCallable()
Returns
TypeDescription
UnaryCallable<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse>

listAcceleratorTypesPagedCallable()

public UnaryCallable<ListAcceleratorTypesRequest,TpuClient.ListAcceleratorTypesPagedResponse> listAcceleratorTypesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAcceleratorTypesRequest,ListAcceleratorTypesPagedResponse>

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,TpuClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

listNodesCallable()

public UnaryCallable<ListNodesRequest,ListNodesResponse> listNodesCallable()
Returns
TypeDescription
UnaryCallable<ListNodesRequest,ListNodesResponse>

listNodesPagedCallable()

public UnaryCallable<ListNodesRequest,TpuClient.ListNodesPagedResponse> listNodesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListNodesRequest,ListNodesPagedResponse>

listQueuedResourcesCallable()

public UnaryCallable<ListQueuedResourcesRequest,ListQueuedResourcesResponse> listQueuedResourcesCallable()
Returns
TypeDescription
UnaryCallable<ListQueuedResourcesRequest,ListQueuedResourcesResponse>

listQueuedResourcesPagedCallable()

public UnaryCallable<ListQueuedResourcesRequest,TpuClient.ListQueuedResourcesPagedResponse> listQueuedResourcesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListQueuedResourcesRequest,ListQueuedResourcesPagedResponse>

listRuntimeVersionsCallable()

public UnaryCallable<ListRuntimeVersionsRequest,ListRuntimeVersionsResponse> listRuntimeVersionsCallable()
Returns
TypeDescription
UnaryCallable<ListRuntimeVersionsRequest,ListRuntimeVersionsResponse>

listRuntimeVersionsPagedCallable()

public UnaryCallable<ListRuntimeVersionsRequest,TpuClient.ListRuntimeVersionsPagedResponse> listRuntimeVersionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRuntimeVersionsRequest,ListRuntimeVersionsPagedResponse>

resetQueuedResourceCallable()

public UnaryCallable<ResetQueuedResourceRequest,Operation> resetQueuedResourceCallable()
Returns
TypeDescription
UnaryCallable<ResetQueuedResourceRequest,Operation>

resetQueuedResourceOperationCallable()

public OperationCallable<ResetQueuedResourceRequest,QueuedResource,OperationMetadata> resetQueuedResourceOperationCallable()
Returns
TypeDescription
OperationCallable<ResetQueuedResourceRequest,QueuedResource,OperationMetadata>

simulateMaintenanceEventCallable()

public UnaryCallable<SimulateMaintenanceEventRequest,Operation> simulateMaintenanceEventCallable()
Returns
TypeDescription
UnaryCallable<SimulateMaintenanceEventRequest,Operation>

simulateMaintenanceEventOperationCallable()

public OperationCallable<SimulateMaintenanceEventRequest,Node,OperationMetadata> simulateMaintenanceEventOperationCallable()
Returns
TypeDescription
OperationCallable<SimulateMaintenanceEventRequest,Node,OperationMetadata>

startNodeCallable()

public UnaryCallable<StartNodeRequest,Operation> startNodeCallable()
Returns
TypeDescription
UnaryCallable<StartNodeRequest,Operation>

startNodeOperationCallable()

public OperationCallable<StartNodeRequest,Node,OperationMetadata> startNodeOperationCallable()
Returns
TypeDescription
OperationCallable<StartNodeRequest,Node,OperationMetadata>

stopNodeCallable()

public UnaryCallable<StopNodeRequest,Operation> stopNodeCallable()
Returns
TypeDescription
UnaryCallable<StopNodeRequest,Operation>

stopNodeOperationCallable()

public OperationCallable<StopNodeRequest,Node,OperationMetadata> stopNodeOperationCallable()
Returns
TypeDescription
OperationCallable<StopNodeRequest,Node,OperationMetadata>

updateNodeCallable()

public UnaryCallable<UpdateNodeRequest,Operation> updateNodeCallable()
Returns
TypeDescription
UnaryCallable<UpdateNodeRequest,Operation>

updateNodeOperationCallable()

public OperationCallable<UpdateNodeRequest,Node,OperationMetadata> updateNodeOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateNodeRequest,Node,OperationMetadata>