Package com.google.cloud.tpu.v2 (2.42.0)

GitHub RepositoryREST Documentation

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.tpu.v2.TpuClient Service Description: Manages TPU nodes and other resources

TPU API v2

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.tpu.v2.TpuSettings Settings class to configure an instance of TpuClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.tpu.v2.AcceleratorConfig A TPU accelerator configuration.
com.google.cloud.tpu.v2.AcceleratorConfig.Builder A TPU accelerator configuration.
com.google.cloud.tpu.v2.AcceleratorType A accelerator type that a Node can be configured with.
com.google.cloud.tpu.v2.AcceleratorType.Builder A accelerator type that a Node can be configured with.
com.google.cloud.tpu.v2.AcceleratorTypeName
com.google.cloud.tpu.v2.AcceleratorTypeName.Builder Builder for projects/{project}/locations/{location}/acceleratorTypes/{accelerator_type}.
com.google.cloud.tpu.v2.AccessConfig An access config attached to the TPU worker.
com.google.cloud.tpu.v2.AccessConfig.Builder An access config attached to the TPU worker.
com.google.cloud.tpu.v2.AttachedDisk A node-attached disk resource. Next ID: 8;
com.google.cloud.tpu.v2.AttachedDisk.Builder A node-attached disk resource. Next ID: 8;
com.google.cloud.tpu.v2.CloudTpuProto
com.google.cloud.tpu.v2.CreateNodeRequest Request for CreateNode.
com.google.cloud.tpu.v2.CreateNodeRequest.Builder Request for CreateNode.
com.google.cloud.tpu.v2.DeleteNodeRequest Request for DeleteNode.
com.google.cloud.tpu.v2.DeleteNodeRequest.Builder Request for DeleteNode.
com.google.cloud.tpu.v2.GenerateServiceIdentityRequest Request for GenerateServiceIdentity.
com.google.cloud.tpu.v2.GenerateServiceIdentityRequest.Builder Request for GenerateServiceIdentity.
com.google.cloud.tpu.v2.GenerateServiceIdentityResponse Response for GenerateServiceIdentity.
com.google.cloud.tpu.v2.GenerateServiceIdentityResponse.Builder Response for GenerateServiceIdentity.
com.google.cloud.tpu.v2.GetAcceleratorTypeRequest Request for GetAcceleratorType.
com.google.cloud.tpu.v2.GetAcceleratorTypeRequest.Builder Request for GetAcceleratorType.
com.google.cloud.tpu.v2.GetGuestAttributesRequest Request for GetGuestAttributes.
com.google.cloud.tpu.v2.GetGuestAttributesRequest.Builder Request for GetGuestAttributes.
com.google.cloud.tpu.v2.GetGuestAttributesResponse Response for GetGuestAttributes.
com.google.cloud.tpu.v2.GetGuestAttributesResponse.Builder Response for GetGuestAttributes.
com.google.cloud.tpu.v2.GetNodeRequest Request for GetNode.
com.google.cloud.tpu.v2.GetNodeRequest.Builder Request for GetNode.
com.google.cloud.tpu.v2.GetRuntimeVersionRequest Request for GetRuntimeVersion.
com.google.cloud.tpu.v2.GetRuntimeVersionRequest.Builder Request for GetRuntimeVersion.
com.google.cloud.tpu.v2.GuestAttributes A guest attributes.
com.google.cloud.tpu.v2.GuestAttributes.Builder A guest attributes.
com.google.cloud.tpu.v2.GuestAttributesEntry A guest attributes namespace/key/value entry.
com.google.cloud.tpu.v2.GuestAttributesEntry.Builder A guest attributes namespace/key/value entry.
com.google.cloud.tpu.v2.GuestAttributesValue Array of guest attribute namespace/key/value tuples.
com.google.cloud.tpu.v2.GuestAttributesValue.Builder Array of guest attribute namespace/key/value tuples.
com.google.cloud.tpu.v2.ListAcceleratorTypesRequest Request for ListAcceleratorTypes.
com.google.cloud.tpu.v2.ListAcceleratorTypesRequest.Builder Request for ListAcceleratorTypes.
com.google.cloud.tpu.v2.ListAcceleratorTypesResponse Response for ListAcceleratorTypes.
com.google.cloud.tpu.v2.ListAcceleratorTypesResponse.Builder Response for ListAcceleratorTypes.
com.google.cloud.tpu.v2.ListNodesRequest Request for ListNodes.
com.google.cloud.tpu.v2.ListNodesRequest.Builder Request for ListNodes.
com.google.cloud.tpu.v2.ListNodesResponse Response for ListNodes.
com.google.cloud.tpu.v2.ListNodesResponse.Builder Response for ListNodes.
com.google.cloud.tpu.v2.ListRuntimeVersionsRequest Request for ListRuntimeVersions.
com.google.cloud.tpu.v2.ListRuntimeVersionsRequest.Builder Request for ListRuntimeVersions.
com.google.cloud.tpu.v2.ListRuntimeVersionsResponse Response for ListRuntimeVersions.
com.google.cloud.tpu.v2.ListRuntimeVersionsResponse.Builder Response for ListRuntimeVersions.
com.google.cloud.tpu.v2.LocationName
com.google.cloud.tpu.v2.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.tpu.v2.NetworkConfig Network related configurations.
com.google.cloud.tpu.v2.NetworkConfig.Builder Network related configurations.
com.google.cloud.tpu.v2.NetworkEndpoint A network endpoint over which a TPU worker can be reached.
com.google.cloud.tpu.v2.NetworkEndpoint.Builder A network endpoint over which a TPU worker can be reached.
com.google.cloud.tpu.v2.Node A TPU instance.
com.google.cloud.tpu.v2.Node.Builder A TPU instance.
com.google.cloud.tpu.v2.NodeName
com.google.cloud.tpu.v2.NodeName.Builder Builder for projects/{project}/locations/{location}/nodes/{node}.
com.google.cloud.tpu.v2.OperationMetadata Metadata describing an Operation
com.google.cloud.tpu.v2.OperationMetadata.Builder Metadata describing an Operation
com.google.cloud.tpu.v2.RuntimeVersion A runtime version that a Node can be configured with.
com.google.cloud.tpu.v2.RuntimeVersion.Builder A runtime version that a Node can be configured with.
com.google.cloud.tpu.v2.RuntimeVersionName
com.google.cloud.tpu.v2.RuntimeVersionName.Builder Builder for projects/{project}/locations/{location}/runtimeVersions/{runtime_version}.
com.google.cloud.tpu.v2.SchedulingConfig Sets the scheduling options for this node.
com.google.cloud.tpu.v2.SchedulingConfig.Builder Sets the scheduling options for this node.
com.google.cloud.tpu.v2.ServiceAccount A service account.
com.google.cloud.tpu.v2.ServiceAccount.Builder A service account.
com.google.cloud.tpu.v2.ServiceIdentity The per-product per-project service identity for Cloud TPU service.
com.google.cloud.tpu.v2.ServiceIdentity.Builder The per-product per-project service identity for Cloud TPU service.
com.google.cloud.tpu.v2.ShieldedInstanceConfig A set of Shielded Instance options.
com.google.cloud.tpu.v2.ShieldedInstanceConfig.Builder A set of Shielded Instance options.
com.google.cloud.tpu.v2.StartNodeRequest Request for StartNode.
com.google.cloud.tpu.v2.StartNodeRequest.Builder Request for StartNode.
com.google.cloud.tpu.v2.StopNodeRequest Request for StopNode.
com.google.cloud.tpu.v2.StopNodeRequest.Builder Request for StopNode.
com.google.cloud.tpu.v2.Symptom A Symptom instance.
com.google.cloud.tpu.v2.Symptom.Builder A Symptom instance.
com.google.cloud.tpu.v2.TpuClient.ListAcceleratorTypesFixedSizeCollection
com.google.cloud.tpu.v2.TpuClient.ListAcceleratorTypesPage
com.google.cloud.tpu.v2.TpuClient.ListAcceleratorTypesPagedResponse
com.google.cloud.tpu.v2.TpuClient.ListLocationsFixedSizeCollection
com.google.cloud.tpu.v2.TpuClient.ListLocationsPage
com.google.cloud.tpu.v2.TpuClient.ListLocationsPagedResponse
com.google.cloud.tpu.v2.TpuClient.ListNodesFixedSizeCollection
com.google.cloud.tpu.v2.TpuClient.ListNodesPage
com.google.cloud.tpu.v2.TpuClient.ListNodesPagedResponse
com.google.cloud.tpu.v2.TpuClient.ListRuntimeVersionsFixedSizeCollection
com.google.cloud.tpu.v2.TpuClient.ListRuntimeVersionsPage
com.google.cloud.tpu.v2.TpuClient.ListRuntimeVersionsPagedResponse
com.google.cloud.tpu.v2.TpuGrpc Manages TPU nodes and other resources TPU API v2
com.google.cloud.tpu.v2.TpuGrpc.TpuImplBase Base class for the server implementation of the service Tpu. Manages TPU nodes and other resources
com.google.cloud.tpu.v2.TpuSettings.Builder Builder for TpuSettings.
com.google.cloud.tpu.v2.UpdateNodeRequest Request for UpdateNode.
com.google.cloud.tpu.v2.UpdateNodeRequest.Builder Request for UpdateNode.

Interfaces

Interface Description
com.google.cloud.tpu.v2.AcceleratorConfigOrBuilder
com.google.cloud.tpu.v2.AcceleratorTypeOrBuilder
com.google.cloud.tpu.v2.AccessConfigOrBuilder
com.google.cloud.tpu.v2.AttachedDiskOrBuilder
com.google.cloud.tpu.v2.CreateNodeRequestOrBuilder
com.google.cloud.tpu.v2.DeleteNodeRequestOrBuilder
com.google.cloud.tpu.v2.GenerateServiceIdentityRequestOrBuilder
com.google.cloud.tpu.v2.GenerateServiceIdentityResponseOrBuilder
com.google.cloud.tpu.v2.GetAcceleratorTypeRequestOrBuilder
com.google.cloud.tpu.v2.GetGuestAttributesRequestOrBuilder
com.google.cloud.tpu.v2.GetGuestAttributesResponseOrBuilder
com.google.cloud.tpu.v2.GetNodeRequestOrBuilder
com.google.cloud.tpu.v2.GetRuntimeVersionRequestOrBuilder
com.google.cloud.tpu.v2.GuestAttributesEntryOrBuilder
com.google.cloud.tpu.v2.GuestAttributesOrBuilder
com.google.cloud.tpu.v2.GuestAttributesValueOrBuilder
com.google.cloud.tpu.v2.ListAcceleratorTypesRequestOrBuilder
com.google.cloud.tpu.v2.ListAcceleratorTypesResponseOrBuilder
com.google.cloud.tpu.v2.ListNodesRequestOrBuilder
com.google.cloud.tpu.v2.ListNodesResponseOrBuilder
com.google.cloud.tpu.v2.ListRuntimeVersionsRequestOrBuilder
com.google.cloud.tpu.v2.ListRuntimeVersionsResponseOrBuilder
com.google.cloud.tpu.v2.NetworkConfigOrBuilder
com.google.cloud.tpu.v2.NetworkEndpointOrBuilder
com.google.cloud.tpu.v2.NodeOrBuilder
com.google.cloud.tpu.v2.OperationMetadataOrBuilder
com.google.cloud.tpu.v2.RuntimeVersionOrBuilder
com.google.cloud.tpu.v2.SchedulingConfigOrBuilder
com.google.cloud.tpu.v2.ServiceAccountOrBuilder
com.google.cloud.tpu.v2.ServiceIdentityOrBuilder
com.google.cloud.tpu.v2.ShieldedInstanceConfigOrBuilder
com.google.cloud.tpu.v2.StartNodeRequestOrBuilder
com.google.cloud.tpu.v2.StopNodeRequestOrBuilder
com.google.cloud.tpu.v2.SymptomOrBuilder
com.google.cloud.tpu.v2.TpuGrpc.AsyncService Manages TPU nodes and other resources TPU API v2
com.google.cloud.tpu.v2.UpdateNodeRequestOrBuilder

Enums

Enum Description
com.google.cloud.tpu.v2.AcceleratorConfig.Type TPU type.
com.google.cloud.tpu.v2.AttachedDisk.DiskMode The different mode of the attached disk.
com.google.cloud.tpu.v2.Node.ApiVersion TPU API Version.
com.google.cloud.tpu.v2.Node.Health Health defines the status of a TPU node as reported by Health Monitor.
com.google.cloud.tpu.v2.Node.State Represents the different states of a TPU node during its lifecycle.
com.google.cloud.tpu.v2.Symptom.SymptomType SymptomType represents the different types of Symptoms that a TPU can be at.