Class StoreTypes.JobData

Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.spark.status.protobuf.StoreTypes.JobData
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, StoreTypes.JobDataOrBuilder
Enclosing class:
StoreTypes

public static final class StoreTypes.JobData extends com.google.protobuf.GeneratedMessageV3 implements StoreTypes.JobDataOrBuilder
Protobuf type org.apache.spark.status.protobuf.JobData
See Also:
  • Field Details

    • JOB_ID_FIELD_NUMBER

      public static final int JOB_ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • SUBMISSION_TIME_FIELD_NUMBER

      public static final int SUBMISSION_TIME_FIELD_NUMBER
      See Also:
    • COMPLETION_TIME_FIELD_NUMBER

      public static final int COMPLETION_TIME_FIELD_NUMBER
      See Also:
    • STAGE_IDS_FIELD_NUMBER

      public static final int STAGE_IDS_FIELD_NUMBER
      See Also:
    • JOB_GROUP_FIELD_NUMBER

      public static final int JOB_GROUP_FIELD_NUMBER
      See Also:
    • JOB_TAGS_FIELD_NUMBER

      public static final int JOB_TAGS_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • NUM_TASKS_FIELD_NUMBER

      public static final int NUM_TASKS_FIELD_NUMBER
      See Also:
    • NUM_ACTIVE_TASKS_FIELD_NUMBER

      public static final int NUM_ACTIVE_TASKS_FIELD_NUMBER
      See Also:
    • NUM_COMPLETED_TASKS_FIELD_NUMBER

      public static final int NUM_COMPLETED_TASKS_FIELD_NUMBER
      See Also:
    • NUM_SKIPPED_TASKS_FIELD_NUMBER

      public static final int NUM_SKIPPED_TASKS_FIELD_NUMBER
      See Also:
    • NUM_FAILED_TASKS_FIELD_NUMBER

      public static final int NUM_FAILED_TASKS_FIELD_NUMBER
      See Also:
    • NUM_KILLED_TASKS_FIELD_NUMBER

      public static final int NUM_KILLED_TASKS_FIELD_NUMBER
      See Also:
    • NUM_COMPLETED_INDICES_FIELD_NUMBER

      public static final int NUM_COMPLETED_INDICES_FIELD_NUMBER
      See Also:
    • NUM_ACTIVE_STAGES_FIELD_NUMBER

      public static final int NUM_ACTIVE_STAGES_FIELD_NUMBER
      See Also:
    • NUM_COMPLETED_STAGES_FIELD_NUMBER

      public static final int NUM_COMPLETED_STAGES_FIELD_NUMBER
      See Also:
    • NUM_SKIPPED_STAGES_FIELD_NUMBER

      public static final int NUM_SKIPPED_STAGES_FIELD_NUMBER
      See Also:
    • NUM_FAILED_STAGES_FIELD_NUMBER

      public static final int NUM_FAILED_STAGES_FIELD_NUMBER
      See Also:
    • KILL_TASKS_SUMMARY_FIELD_NUMBER

      public static final int KILL_TASKS_SUMMARY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getJobId

      public long getJobId()
       All IDs are int64 for extendability, even when they are currently int32 in Spark.
       
      int64 job_id = 1;
      Specified by:
      getJobId in interface StoreTypes.JobDataOrBuilder
      Returns:
      The jobId.
    • hasName

      public boolean hasName()
      optional string name = 2;
      Specified by:
      hasName in interface StoreTypes.JobDataOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      optional string name = 2;
      Specified by:
      getName in interface StoreTypes.JobDataOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      optional string name = 2;
      Specified by:
      getNameBytes in interface StoreTypes.JobDataOrBuilder
      Returns:
      The bytes for name.
    • hasDescription

      public boolean hasDescription()
      optional string description = 3;
      Specified by:
      hasDescription in interface StoreTypes.JobDataOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      optional string description = 3;
      Specified by:
      getDescription in interface StoreTypes.JobDataOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 3;
      Specified by:
      getDescriptionBytes in interface StoreTypes.JobDataOrBuilder
      Returns:
      The bytes for description.
    • hasSubmissionTime

      public boolean hasSubmissionTime()
      optional int64 submission_time = 4;
      Specified by:
      hasSubmissionTime in interface StoreTypes.JobDataOrBuilder
      Returns:
      Whether the submissionTime field is set.
    • getSubmissionTime

      public long getSubmissionTime()
      optional int64 submission_time = 4;
      Specified by:
      getSubmissionTime in interface StoreTypes.JobDataOrBuilder
      Returns:
      The submissionTime.
    • hasCompletionTime

      public boolean hasCompletionTime()
      optional int64 completion_time = 5;
      Specified by:
      hasCompletionTime in interface StoreTypes.JobDataOrBuilder
      Returns:
      Whether the completionTime field is set.
    • getCompletionTime

      public long getCompletionTime()
      optional int64 completion_time = 5;
      Specified by:
      getCompletionTime in interface StoreTypes.JobDataOrBuilder
      Returns:
      The completionTime.
    • getStageIdsList

      public List<Long> getStageIdsList()
      repeated int64 stage_ids = 6;
      Specified by:
      getStageIdsList in interface StoreTypes.JobDataOrBuilder
      Returns:
      A list containing the stageIds.
    • getStageIdsCount

      public int getStageIdsCount()
      repeated int64 stage_ids = 6;
      Specified by:
      getStageIdsCount in interface StoreTypes.JobDataOrBuilder
      Returns:
      The count of stageIds.
    • getStageIds

      public long getStageIds(int index)
      repeated int64 stage_ids = 6;
      Specified by:
      getStageIds in interface StoreTypes.JobDataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The stageIds at the given index.
    • hasJobGroup

      public boolean hasJobGroup()
      optional string job_group = 7;
      Specified by:
      hasJobGroup in interface StoreTypes.JobDataOrBuilder
      Returns:
      Whether the jobGroup field is set.
    • getJobGroup

      public String getJobGroup()
      optional string job_group = 7;
      Specified by:
      getJobGroup in interface StoreTypes.JobDataOrBuilder
      Returns:
      The jobGroup.
    • getJobGroupBytes

      public com.google.protobuf.ByteString getJobGroupBytes()
      optional string job_group = 7;
      Specified by:
      getJobGroupBytes in interface StoreTypes.JobDataOrBuilder
      Returns:
      The bytes for jobGroup.
    • getJobTagsList

      public com.google.protobuf.ProtocolStringList getJobTagsList()
      repeated string job_tags = 21;
      Specified by:
      getJobTagsList in interface StoreTypes.JobDataOrBuilder
      Returns:
      A list containing the jobTags.
    • getJobTagsCount

      public int getJobTagsCount()
      repeated string job_tags = 21;
      Specified by:
      getJobTagsCount in interface StoreTypes.JobDataOrBuilder
      Returns:
      The count of jobTags.
    • getJobTags

      public String getJobTags(int index)
      repeated string job_tags = 21;
      Specified by:
      getJobTags in interface StoreTypes.JobDataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The jobTags at the given index.
    • getJobTagsBytes

      public com.google.protobuf.ByteString getJobTagsBytes(int index)
      repeated string job_tags = 21;
      Specified by:
      getJobTagsBytes in interface StoreTypes.JobDataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the jobTags at the given index.
    • getStatusValue

      public int getStatusValue()
      .org.apache.spark.status.protobuf.JobExecutionStatus status = 8;
      Specified by:
      getStatusValue in interface StoreTypes.JobDataOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public StoreTypes.JobExecutionStatus getStatus()
      .org.apache.spark.status.protobuf.JobExecutionStatus status = 8;
      Specified by:
      getStatus in interface StoreTypes.JobDataOrBuilder
      Returns:
      The status.
    • getNumTasks

      public int getNumTasks()
      int32 num_tasks = 9;
      Specified by:
      getNumTasks in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numTasks.
    • getNumActiveTasks

      public int getNumActiveTasks()
      int32 num_active_tasks = 10;
      Specified by:
      getNumActiveTasks in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numActiveTasks.
    • getNumCompletedTasks

      public int getNumCompletedTasks()
      int32 num_completed_tasks = 11;
      Specified by:
      getNumCompletedTasks in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numCompletedTasks.
    • getNumSkippedTasks

      public int getNumSkippedTasks()
      int32 num_skipped_tasks = 12;
      Specified by:
      getNumSkippedTasks in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numSkippedTasks.
    • getNumFailedTasks

      public int getNumFailedTasks()
      int32 num_failed_tasks = 13;
      Specified by:
      getNumFailedTasks in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numFailedTasks.
    • getNumKilledTasks

      public int getNumKilledTasks()
      int32 num_killed_tasks = 14;
      Specified by:
      getNumKilledTasks in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numKilledTasks.
    • getNumCompletedIndices

      public int getNumCompletedIndices()
      int32 num_completed_indices = 15;
      Specified by:
      getNumCompletedIndices in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numCompletedIndices.
    • getNumActiveStages

      public int getNumActiveStages()
      int32 num_active_stages = 16;
      Specified by:
      getNumActiveStages in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numActiveStages.
    • getNumCompletedStages

      public int getNumCompletedStages()
      int32 num_completed_stages = 17;
      Specified by:
      getNumCompletedStages in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numCompletedStages.
    • getNumSkippedStages

      public int getNumSkippedStages()
      int32 num_skipped_stages = 18;
      Specified by:
      getNumSkippedStages in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numSkippedStages.
    • getNumFailedStages

      public int getNumFailedStages()
      int32 num_failed_stages = 19;
      Specified by:
      getNumFailedStages in interface StoreTypes.JobDataOrBuilder
      Returns:
      The numFailedStages.
    • getKillTasksSummaryCount

      public int getKillTasksSummaryCount()
      Description copied from interface: StoreTypes.JobDataOrBuilder
      map<string, int32> kill_tasks_summary = 20;
      Specified by:
      getKillTasksSummaryCount in interface StoreTypes.JobDataOrBuilder
    • containsKillTasksSummary

      public boolean containsKillTasksSummary(String key)
      map<string, int32> kill_tasks_summary = 20;
      Specified by:
      containsKillTasksSummary in interface StoreTypes.JobDataOrBuilder
    • getKillTasksSummary

      @Deprecated public Map<String,Integer> getKillTasksSummary()
      Deprecated.
      Specified by:
      getKillTasksSummary in interface StoreTypes.JobDataOrBuilder
    • getKillTasksSummaryMap

      public Map<String,Integer> getKillTasksSummaryMap()
      map<string, int32> kill_tasks_summary = 20;
      Specified by:
      getKillTasksSummaryMap in interface StoreTypes.JobDataOrBuilder
    • getKillTasksSummaryOrDefault

      public int getKillTasksSummaryOrDefault(String key, int defaultValue)
      map<string, int32> kill_tasks_summary = 20;
      Specified by:
      getKillTasksSummaryOrDefault in interface StoreTypes.JobDataOrBuilder
    • getKillTasksSummaryOrThrow

      public int getKillTasksSummaryOrThrow(String key)
      map<string, int32> kill_tasks_summary = 20;
      Specified by:
      getKillTasksSummaryOrThrow in interface StoreTypes.JobDataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StoreTypes.JobData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoreTypes.JobData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoreTypes.JobData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoreTypes.JobData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoreTypes.JobData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoreTypes.JobData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoreTypes.JobData parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StoreTypes.JobData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StoreTypes.JobData parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StoreTypes.JobData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StoreTypes.JobData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StoreTypes.JobData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StoreTypes.JobData.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StoreTypes.JobData.Builder newBuilder()
    • newBuilder

      public static StoreTypes.JobData.Builder newBuilder(StoreTypes.JobData prototype)
    • toBuilder

      public StoreTypes.JobData.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static StoreTypes.JobData getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StoreTypes.JobData> parser()
    • getParserForType

      public com.google.protobuf.Parser<StoreTypes.JobData> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public StoreTypes.JobData getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder