Interface JobStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
JobStatus, JobStatus.Builder

@Generated public interface JobStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getStateValue

      int getStateValue()
       Job state
       
      .google.cloud.batch.v1alpha.JobStatus.State state = 1;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      JobStatus.State getState()
       Job state
       
      .google.cloud.batch.v1alpha.JobStatus.State state = 1;
      Returns:
      The state.
    • getStatusEventsList

      List<StatusEvent> getStatusEventsList()
       Job status events
       
      repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
    • getStatusEvents

      StatusEvent getStatusEvents(int index)
       Job status events
       
      repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
    • getStatusEventsCount

      int getStatusEventsCount()
       Job status events
       
      repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
    • getStatusEventsOrBuilderList

      List<? extends StatusEventOrBuilder> getStatusEventsOrBuilderList()
       Job status events
       
      repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
    • getStatusEventsOrBuilder

      StatusEventOrBuilder getStatusEventsOrBuilder(int index)
       Job status events
       
      repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
    • getTaskGroupsCount

      int getTaskGroupsCount()
       Aggregated task status for each TaskGroup in the Job.
       The map key is TaskGroup ID.
       
      map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4;
    • containsTaskGroups

      boolean containsTaskGroups(String key)
       Aggregated task status for each TaskGroup in the Job.
       The map key is TaskGroup ID.
       
      map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4;
    • getTaskGroups

      Deprecated.
      Use getTaskGroupsMap() instead.
    • getTaskGroupsMap

      Map<String,JobStatus.TaskGroupStatus> getTaskGroupsMap()
       Aggregated task status for each TaskGroup in the Job.
       The map key is TaskGroup ID.
       
      map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4;
    • getTaskGroupsOrDefault

      JobStatus.TaskGroupStatus getTaskGroupsOrDefault(String key, JobStatus.TaskGroupStatus defaultValue)
       Aggregated task status for each TaskGroup in the Job.
       The map key is TaskGroup ID.
       
      map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4;
    • getTaskGroupsOrThrow

      JobStatus.TaskGroupStatus getTaskGroupsOrThrow(String key)
       Aggregated task status for each TaskGroup in the Job.
       The map key is TaskGroup ID.
       
      map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4;
    • hasRunDuration

      boolean hasRunDuration()
       The duration of time that the Job spent in status RUNNING.
       
      .google.protobuf.Duration run_duration = 5;
      Returns:
      Whether the runDuration field is set.
    • getRunDuration

      com.google.protobuf.Duration getRunDuration()
       The duration of time that the Job spent in status RUNNING.
       
      .google.protobuf.Duration run_duration = 5;
      Returns:
      The runDuration.
    • getRunDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getRunDurationOrBuilder()
       The duration of time that the Job spent in status RUNNING.
       
      .google.protobuf.Duration run_duration = 5;
    • hasResourceUsage

      boolean hasResourceUsage()
       The resource usage of the job.
       
      .google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
      Returns:
      Whether the resourceUsage field is set.
    • getResourceUsage

      ResourceUsage getResourceUsage()
       The resource usage of the job.
       
      .google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
      Returns:
      The resourceUsage.
    • getResourceUsageOrBuilder

      ResourceUsageOrBuilder getResourceUsageOrBuilder()
       The resource usage of the job.
       
      .google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;