Package com.google.cloud.batch.v1alpha (0.35.0)

GitHub Repository

This package is not the latest GA version!

For this library, we recommend using the package associated with API version v1 for new applications.

Prerelease Implications

This package is a prerelease version! Use with caution. Prerelease versions are considered unstable as they may be shut down. You can read more about Cloud API versioning strategy here. Each Cloud Java client library may contain multiple packages. Each package containing a version number in its name corresponds to a published version of the service. We recommend using the latest stable version for new production applications, which can be identified by the largest numeric version that does not contain a suffix. For example, if a client library has two packages: v1 and v2alpha, then the latest stable version is v1. If you use an unstable release, breaking changes may be introduced when upgrading.

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.batch.v1alpha.BatchServiceClient Service Description: Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.

This class provides the ability to make remote calls to the backing service through method

Settings Classes

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

Settings Description
com.google.cloud.batch.v1alpha.BatchServiceSettings Settings class to configure an instance of BatchServiceClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.batch.v1alpha.AllocationPolicy A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.
com.google.cloud.batch.v1alpha.AllocationPolicy.Accelerator Accelerator describes Compute Engine accelerators to be attached to the VM.
com.google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.Builder Accelerator describes Compute Engine accelerators to be attached to the VM.
com.google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.
com.google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk.Builder A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.
com.google.cloud.batch.v1alpha.AllocationPolicy.Builder A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.
com.google.cloud.batch.v1alpha.AllocationPolicy.Disk A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and
com.google.cloud.batch.v1alpha.AllocationPolicy.Disk.Builder A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and
com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.
com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.Builder InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.
com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include
com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate.Builder InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include
com.google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy Protobuf type google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy
com.google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy.Builder Protobuf type google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy
com.google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface A network interface.
com.google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface.Builder A network interface.
com.google.cloud.batch.v1alpha.AllocationPolicy.NetworkPolicy NetworkPolicy describes VM instance network configurations.
com.google.cloud.batch.v1alpha.AllocationPolicy.NetworkPolicy.Builder NetworkPolicy describes VM instance network configurations.
com.google.cloud.batch.v1alpha.AllocationPolicy.PlacementPolicy PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.
com.google.cloud.batch.v1alpha.AllocationPolicy.PlacementPolicy.Builder PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.
com.google.cloud.batch.v1alpha.BatchProto
com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsFixedSizeCollection
com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsPage
com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsPagedResponse
com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsFixedSizeCollection
com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsPage
com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsPagedResponse
com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksFixedSizeCollection
com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksPage
com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksPagedResponse
com.google.cloud.batch.v1alpha.BatchServiceGrpc Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.
com.google.cloud.batch.v1alpha.BatchServiceGrpc.BatchServiceImplBase Base class for the server implementation of the service BatchService. Google Batch Service.
com.google.cloud.batch.v1alpha.BatchServiceSettings.Builder Builder for BatchServiceSettings.
com.google.cloud.batch.v1alpha.ComputeResource Compute resource requirements. ComputeResource defines the amount of resources required for each task.
com.google.cloud.batch.v1alpha.ComputeResource.Builder Compute resource requirements. ComputeResource defines the amount of resources required for each task.
com.google.cloud.batch.v1alpha.CreateJobRequest CreateJob Request.
com.google.cloud.batch.v1alpha.CreateJobRequest.Builder CreateJob Request.
com.google.cloud.batch.v1alpha.DeleteJobRequest DeleteJob Request.
com.google.cloud.batch.v1alpha.DeleteJobRequest.Builder DeleteJob Request.
com.google.cloud.batch.v1alpha.Environment An Environment describes a collection of environment variables to set when executing Tasks.
com.google.cloud.batch.v1alpha.Environment.Builder An Environment describes a collection of environment variables to set when executing Tasks.
com.google.cloud.batch.v1alpha.Environment.KMSEnvMap Protobuf type google.cloud.batch.v1alpha.Environment.KMSEnvMap
com.google.cloud.batch.v1alpha.Environment.KMSEnvMap.Builder Protobuf type google.cloud.batch.v1alpha.Environment.KMSEnvMap
com.google.cloud.batch.v1alpha.GCS Represents a Google Cloud Storage volume.
com.google.cloud.batch.v1alpha.GCS.Builder Represents a Google Cloud Storage volume.
com.google.cloud.batch.v1alpha.GetJobRequest GetJob Request.
com.google.cloud.batch.v1alpha.GetJobRequest.Builder GetJob Request.
com.google.cloud.batch.v1alpha.GetTaskRequest Request for a single Task by name.
com.google.cloud.batch.v1alpha.GetTaskRequest.Builder Request for a single Task by name.
com.google.cloud.batch.v1alpha.Job The Cloud Batch Job description.
com.google.cloud.batch.v1alpha.Job.Builder The Cloud Batch Job description.
com.google.cloud.batch.v1alpha.JobDependency JobDependency describes the state of other Jobs that the start of this Job depends on. All dependent Jobs must have been submitted in the same region.
com.google.cloud.batch.v1alpha.JobDependency.Builder JobDependency describes the state of other Jobs that the start of this Job depends on. All dependent Jobs must have been submitted in the same region.
com.google.cloud.batch.v1alpha.JobName
com.google.cloud.batch.v1alpha.JobName.Builder Builder for projects/{project}/locations/{location}/jobs/{job}.
com.google.cloud.batch.v1alpha.JobNotification Notification configurations.
com.google.cloud.batch.v1alpha.JobNotification.Builder Notification configurations.
com.google.cloud.batch.v1alpha.JobNotification.Message Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default.
com.google.cloud.batch.v1alpha.JobNotification.Message.Builder Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default.
com.google.cloud.batch.v1alpha.JobProto
com.google.cloud.batch.v1alpha.JobStatus Job status.
com.google.cloud.batch.v1alpha.JobStatus.Builder Job status.
com.google.cloud.batch.v1alpha.JobStatus.InstanceStatus VM instance status.
com.google.cloud.batch.v1alpha.JobStatus.InstanceStatus.Builder VM instance status.
com.google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus Aggregated task status for a TaskGroup.
com.google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus.Builder Aggregated task status for a TaskGroup.
com.google.cloud.batch.v1alpha.LifecyclePolicy LifecyclePolicy describes how to deal with task failures based on different conditions.
com.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition Conditions for actions to deal with task failures.
com.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition.Builder Conditions for actions to deal with task failures.
com.google.cloud.batch.v1alpha.LifecyclePolicy.Builder LifecyclePolicy describes how to deal with task failures based on different conditions.
com.google.cloud.batch.v1alpha.ListJobsRequest ListJob Request.
com.google.cloud.batch.v1alpha.ListJobsRequest.Builder ListJob Request.
com.google.cloud.batch.v1alpha.ListJobsResponse ListJob Response.
com.google.cloud.batch.v1alpha.ListJobsResponse.Builder ListJob Response.
com.google.cloud.batch.v1alpha.ListTasksRequest ListTasks Request.
com.google.cloud.batch.v1alpha.ListTasksRequest.Builder ListTasks Request.
com.google.cloud.batch.v1alpha.ListTasksResponse ListTasks Response.
com.google.cloud.batch.v1alpha.ListTasksResponse.Builder ListTasks Response.
com.google.cloud.batch.v1alpha.LocationName
com.google.cloud.batch.v1alpha.LocationName.Builder Builder for projects/{project}/locations/{location}.
com.google.cloud.batch.v1alpha.LogsPolicy LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.
com.google.cloud.batch.v1alpha.LogsPolicy.Builder LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.
com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption CloudLoggingOption contains additional settings for Cloud Logging logs generated by Batch job.
com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption.Builder CloudLoggingOption contains additional settings for Cloud Logging logs generated by Batch job.
com.google.cloud.batch.v1alpha.NFS Represents an NFS volume.
com.google.cloud.batch.v1alpha.NFS.Builder Represents an NFS volume.
com.google.cloud.batch.v1alpha.OperationMetadata Represents the metadata of the long-running operation.
com.google.cloud.batch.v1alpha.OperationMetadata.Builder Represents the metadata of the long-running operation.
com.google.cloud.batch.v1alpha.PD Deprecated: please use device_name instead.
com.google.cloud.batch.v1alpha.PD.Builder Deprecated: please use device_name instead.
com.google.cloud.batch.v1alpha.ResourceUsage ResourceUsage describes the resource usage of the job.
com.google.cloud.batch.v1alpha.ResourceUsage.Builder ResourceUsage describes the resource usage of the job.
com.google.cloud.batch.v1alpha.Runnable Runnable describes instructions for executing a specific script or container as part of a Task.
com.google.cloud.batch.v1alpha.Runnable.Barrier Barrier runnable blocks until all tasks in a taskgroup reach it.
com.google.cloud.batch.v1alpha.Runnable.Barrier.Builder Barrier runnable blocks until all tasks in a taskgroup reach it.
com.google.cloud.batch.v1alpha.Runnable.Builder Runnable describes instructions for executing a specific script or container as part of a Task.
com.google.cloud.batch.v1alpha.Runnable.Container Container runnable.
com.google.cloud.batch.v1alpha.Runnable.Container.Builder Container runnable.
com.google.cloud.batch.v1alpha.Runnable.Script Script runnable.
com.google.cloud.batch.v1alpha.Runnable.Script.Builder Script runnable.
com.google.cloud.batch.v1alpha.ServiceAccount Carries information about a Google Cloud service account.
com.google.cloud.batch.v1alpha.ServiceAccount.Builder Carries information about a Google Cloud service account.
com.google.cloud.batch.v1alpha.StatusEvent Status event
com.google.cloud.batch.v1alpha.StatusEvent.Builder Status event
com.google.cloud.batch.v1alpha.Task A Cloud Batch task.
com.google.cloud.batch.v1alpha.Task.Builder A Cloud Batch task.
com.google.cloud.batch.v1alpha.TaskExecution This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.
com.google.cloud.batch.v1alpha.TaskExecution.Builder This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.
com.google.cloud.batch.v1alpha.TaskGroup A TaskGroup defines one or more Tasks that all share the same TaskSpec.
com.google.cloud.batch.v1alpha.TaskGroup.Builder A TaskGroup defines one or more Tasks that all share the same TaskSpec.
com.google.cloud.batch.v1alpha.TaskGroupName
com.google.cloud.batch.v1alpha.TaskGroupName.Builder Builder for projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}.
com.google.cloud.batch.v1alpha.TaskName
com.google.cloud.batch.v1alpha.TaskName.Builder Builder for projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}/tasks/{task}.
com.google.cloud.batch.v1alpha.TaskProto
com.google.cloud.batch.v1alpha.TaskResourceUsage TaskResourceUsage describes the resource usage of the task.
com.google.cloud.batch.v1alpha.TaskResourceUsage.Builder TaskResourceUsage describes the resource usage of the task.
com.google.cloud.batch.v1alpha.TaskSpec Spec of a task
com.google.cloud.batch.v1alpha.TaskSpec.Builder Spec of a task
com.google.cloud.batch.v1alpha.TaskStatus Status of a task
com.google.cloud.batch.v1alpha.TaskStatus.Builder Status of a task
com.google.cloud.batch.v1alpha.Volume Volume describes a volume and parameters for it to be mounted to a VM.
com.google.cloud.batch.v1alpha.Volume.Builder Volume describes a volume and parameters for it to be mounted to a VM.
com.google.cloud.batch.v1alpha.VolumeProto

Interfaces

Interface Description
com.google.cloud.batch.v1alpha.AllocationPolicy.AcceleratorOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.AttachedDiskOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.DiskOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplateOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicyOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterfaceOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.NetworkPolicyOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicy.PlacementPolicyOrBuilder
com.google.cloud.batch.v1alpha.AllocationPolicyOrBuilder
com.google.cloud.batch.v1alpha.BatchServiceGrpc.AsyncService Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.
com.google.cloud.batch.v1alpha.ComputeResourceOrBuilder
com.google.cloud.batch.v1alpha.CreateJobRequestOrBuilder
com.google.cloud.batch.v1alpha.DeleteJobRequestOrBuilder
com.google.cloud.batch.v1alpha.Environment.KMSEnvMapOrBuilder
com.google.cloud.batch.v1alpha.EnvironmentOrBuilder
com.google.cloud.batch.v1alpha.GCSOrBuilder
com.google.cloud.batch.v1alpha.GetJobRequestOrBuilder
com.google.cloud.batch.v1alpha.GetTaskRequestOrBuilder
com.google.cloud.batch.v1alpha.JobDependencyOrBuilder
com.google.cloud.batch.v1alpha.JobNotification.MessageOrBuilder
com.google.cloud.batch.v1alpha.JobNotificationOrBuilder
com.google.cloud.batch.v1alpha.JobOrBuilder
com.google.cloud.batch.v1alpha.JobStatus.InstanceStatusOrBuilder
com.google.cloud.batch.v1alpha.JobStatus.TaskGroupStatusOrBuilder
com.google.cloud.batch.v1alpha.JobStatusOrBuilder
com.google.cloud.batch.v1alpha.LifecyclePolicy.ActionConditionOrBuilder
com.google.cloud.batch.v1alpha.LifecyclePolicyOrBuilder
com.google.cloud.batch.v1alpha.ListJobsRequestOrBuilder
com.google.cloud.batch.v1alpha.ListJobsResponseOrBuilder
com.google.cloud.batch.v1alpha.ListTasksRequestOrBuilder
com.google.cloud.batch.v1alpha.ListTasksResponseOrBuilder
com.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOptionOrBuilder
com.google.cloud.batch.v1alpha.LogsPolicyOrBuilder
com.google.cloud.batch.v1alpha.NFSOrBuilder
com.google.cloud.batch.v1alpha.OperationMetadataOrBuilder
com.google.cloud.batch.v1alpha.PDOrBuilder
com.google.cloud.batch.v1alpha.ResourceUsageOrBuilder
com.google.cloud.batch.v1alpha.Runnable.BarrierOrBuilder
com.google.cloud.batch.v1alpha.Runnable.ContainerOrBuilder
com.google.cloud.batch.v1alpha.Runnable.ScriptOrBuilder
com.google.cloud.batch.v1alpha.RunnableOrBuilder
com.google.cloud.batch.v1alpha.ServiceAccountOrBuilder
com.google.cloud.batch.v1alpha.StatusEventOrBuilder
com.google.cloud.batch.v1alpha.TaskExecutionOrBuilder
com.google.cloud.batch.v1alpha.TaskGroupOrBuilder
com.google.cloud.batch.v1alpha.TaskOrBuilder
com.google.cloud.batch.v1alpha.TaskResourceUsageOrBuilder
com.google.cloud.batch.v1alpha.TaskSpecOrBuilder
com.google.cloud.batch.v1alpha.TaskStatusOrBuilder
com.google.cloud.batch.v1alpha.VolumeOrBuilder

Enums

Enum Description
com.google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk.AttachedCase
com.google.cloud.batch.v1alpha.AllocationPolicy.Disk.DataSourceCase
com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate.PolicyTemplateCase
com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel Compute Engine VM instance provisioning model.
com.google.cloud.batch.v1alpha.Job.SchedulingPolicy The order that TaskGroups are scheduled relative to each other. Not yet implemented.
com.google.cloud.batch.v1alpha.JobDependency.Type Dependency type.
com.google.cloud.batch.v1alpha.JobNotification.Type The message type.
com.google.cloud.batch.v1alpha.JobStatus.State Valid Job states.
com.google.cloud.batch.v1alpha.LifecyclePolicy.Action Action on task failures based on different conditions.
com.google.cloud.batch.v1alpha.LogsPolicy.Destination The destination (if any) for logs.
com.google.cloud.batch.v1alpha.Runnable.ExecutableCase
com.google.cloud.batch.v1alpha.Runnable.Script.CommandCase
com.google.cloud.batch.v1alpha.TaskGroup.SchedulingPolicy How Tasks in the TaskGroup should be scheduled relative to each other.
com.google.cloud.batch.v1alpha.TaskStatus.State Task states.
com.google.cloud.batch.v1alpha.Volume.SourceCase