Package org.apache.spark.status.protobuf
Class StoreTypes.JobData
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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.GeneratedMessage
implements StoreTypes.JobDataOrBuilder
Protobuf type
org.apache.spark.status.protobuf.JobData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.apache.spark.status.protobuf.JobDataNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanmap<string, int32> kill_tasks_summary = 20;booleanlongoptional int64 completion_time = 5;static StoreTypes.JobDataoptional string description = 3;com.google.protobuf.ByteStringoptional string description = 3;static final com.google.protobuf.Descriptors.Descriptoroptional string job_group = 7;com.google.protobuf.ByteStringoptional string job_group = 7;longgetJobId()All IDs are int64 for extendability, even when they are currently int32 in Spark.getJobTags(int index) repeated string job_tags = 21;com.google.protobuf.ByteStringgetJobTagsBytes(int index) repeated string job_tags = 21;intrepeated string job_tags = 21;com.google.protobuf.ProtocolStringListrepeated string job_tags = 21;Deprecated.intmap<string, int32> kill_tasks_summary = 20;map<string, int32> kill_tasks_summary = 20;intgetKillTasksSummaryOrDefault(String key, int defaultValue) map<string, int32> kill_tasks_summary = 20;intmap<string, int32> kill_tasks_summary = 20;getName()optional string name = 2;com.google.protobuf.ByteStringoptional string name = 2;intint32 num_active_stages = 16;intint32 num_active_tasks = 10;intint32 num_completed_indices = 15;intint32 num_completed_stages = 17;intint32 num_completed_tasks = 11;intint32 num_failed_stages = 19;intint32 num_failed_tasks = 13;intint32 num_killed_tasks = 14;intint32 num_skipped_stages = 18;intint32 num_skipped_tasks = 12;intint32 num_tasks = 9;com.google.protobuf.Parser<StoreTypes.JobData>intlonggetStageIds(int index) repeated int64 stage_ids = 6;intrepeated int64 stage_ids = 6;repeated int64 stage_ids = 6;.org.apache.spark.status.protobuf.JobExecutionStatus status = 8;int.org.apache.spark.status.protobuf.JobExecutionStatus status = 8;longoptional int64 submission_time = 4;booleanoptional int64 completion_time = 5;booleanoptional string description = 3;inthashCode()booleanoptional string job_group = 7;booleanhasName()optional string name = 2;booleanoptional int64 submission_time = 4;final booleanstatic StoreTypes.JobData.Builderstatic StoreTypes.JobData.BuildernewBuilder(StoreTypes.JobData prototype) static StoreTypes.JobDataparseDelimitedFrom(InputStream input) static StoreTypes.JobDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobDataparseFrom(byte[] data) static StoreTypes.JobDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobDataparseFrom(com.google.protobuf.ByteString data) static StoreTypes.JobDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobDataparseFrom(com.google.protobuf.CodedInputStream input) static StoreTypes.JobDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobDataparseFrom(InputStream input) static StoreTypes.JobDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobDataparseFrom(ByteBuffer data) static StoreTypes.JobDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.JobData>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
getJobIdin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The jobId.
-
hasName
public boolean hasName()optional string name = 2;- Specified by:
hasNamein interfaceStoreTypes.JobDataOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;- Specified by:
getNamein interfaceStoreTypes.JobDataOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;- Specified by:
getNameBytesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The bytes for name.
-
hasDescription
public boolean hasDescription()optional string description = 3;- Specified by:
hasDescriptionin interfaceStoreTypes.JobDataOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 3;- Specified by:
getDescriptionin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 3;- Specified by:
getDescriptionBytesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The bytes for description.
-
hasSubmissionTime
public boolean hasSubmissionTime()optional int64 submission_time = 4;- Specified by:
hasSubmissionTimein interfaceStoreTypes.JobDataOrBuilder- Returns:
- Whether the submissionTime field is set.
-
getSubmissionTime
public long getSubmissionTime()optional int64 submission_time = 4;- Specified by:
getSubmissionTimein interfaceStoreTypes.JobDataOrBuilder- Returns:
- The submissionTime.
-
hasCompletionTime
public boolean hasCompletionTime()optional int64 completion_time = 5;- Specified by:
hasCompletionTimein interfaceStoreTypes.JobDataOrBuilder- Returns:
- Whether the completionTime field is set.
-
getCompletionTime
public long getCompletionTime()optional int64 completion_time = 5;- Specified by:
getCompletionTimein interfaceStoreTypes.JobDataOrBuilder- Returns:
- The completionTime.
-
getStageIdsList
repeated int64 stage_ids = 6;- Specified by:
getStageIdsListin interfaceStoreTypes.JobDataOrBuilder- Returns:
- A list containing the stageIds.
-
getStageIdsCount
public int getStageIdsCount()repeated int64 stage_ids = 6;- Specified by:
getStageIdsCountin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The count of stageIds.
-
getStageIds
public long getStageIds(int index) repeated int64 stage_ids = 6;- Specified by:
getStageIdsin interfaceStoreTypes.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:
hasJobGroupin interfaceStoreTypes.JobDataOrBuilder- Returns:
- Whether the jobGroup field is set.
-
getJobGroup
optional string job_group = 7;- Specified by:
getJobGroupin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The jobGroup.
-
getJobGroupBytes
public com.google.protobuf.ByteString getJobGroupBytes()optional string job_group = 7;- Specified by:
getJobGroupBytesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The bytes for jobGroup.
-
getJobTagsList
public com.google.protobuf.ProtocolStringList getJobTagsList()repeated string job_tags = 21;- Specified by:
getJobTagsListin interfaceStoreTypes.JobDataOrBuilder- Returns:
- A list containing the jobTags.
-
getJobTagsCount
public int getJobTagsCount()repeated string job_tags = 21;- Specified by:
getJobTagsCountin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The count of jobTags.
-
getJobTags
repeated string job_tags = 21;- Specified by:
getJobTagsin interfaceStoreTypes.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:
getJobTagsBytesin interfaceStoreTypes.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:
getStatusValuein interfaceStoreTypes.JobDataOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
.org.apache.spark.status.protobuf.JobExecutionStatus status = 8;- Specified by:
getStatusin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The status.
-
getNumTasks
public int getNumTasks()int32 num_tasks = 9;- Specified by:
getNumTasksin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numTasks.
-
getNumActiveTasks
public int getNumActiveTasks()int32 num_active_tasks = 10;- Specified by:
getNumActiveTasksin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numActiveTasks.
-
getNumCompletedTasks
public int getNumCompletedTasks()int32 num_completed_tasks = 11;- Specified by:
getNumCompletedTasksin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numCompletedTasks.
-
getNumSkippedTasks
public int getNumSkippedTasks()int32 num_skipped_tasks = 12;- Specified by:
getNumSkippedTasksin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numSkippedTasks.
-
getNumFailedTasks
public int getNumFailedTasks()int32 num_failed_tasks = 13;- Specified by:
getNumFailedTasksin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numFailedTasks.
-
getNumKilledTasks
public int getNumKilledTasks()int32 num_killed_tasks = 14;- Specified by:
getNumKilledTasksin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numKilledTasks.
-
getNumCompletedIndices
public int getNumCompletedIndices()int32 num_completed_indices = 15;- Specified by:
getNumCompletedIndicesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numCompletedIndices.
-
getNumActiveStages
public int getNumActiveStages()int32 num_active_stages = 16;- Specified by:
getNumActiveStagesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numActiveStages.
-
getNumCompletedStages
public int getNumCompletedStages()int32 num_completed_stages = 17;- Specified by:
getNumCompletedStagesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numCompletedStages.
-
getNumSkippedStages
public int getNumSkippedStages()int32 num_skipped_stages = 18;- Specified by:
getNumSkippedStagesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numSkippedStages.
-
getNumFailedStages
public int getNumFailedStages()int32 num_failed_stages = 19;- Specified by:
getNumFailedStagesin interfaceStoreTypes.JobDataOrBuilder- Returns:
- The numFailedStages.
-
getKillTasksSummaryCount
public int getKillTasksSummaryCount()Description copied from interface:StoreTypes.JobDataOrBuildermap<string, int32> kill_tasks_summary = 20;- Specified by:
getKillTasksSummaryCountin interfaceStoreTypes.JobDataOrBuilder
-
containsKillTasksSummary
map<string, int32> kill_tasks_summary = 20;- Specified by:
containsKillTasksSummaryin interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummary
Deprecated.UsegetKillTasksSummaryMap()instead.- Specified by:
getKillTasksSummaryin interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummaryMap
map<string, int32> kill_tasks_summary = 20;- Specified by:
getKillTasksSummaryMapin interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummaryOrDefault
map<string, int32> kill_tasks_summary = 20;- Specified by:
getKillTasksSummaryOrDefaultin interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummaryOrThrow
map<string, int32> kill_tasks_summary = 20;- Specified by:
getKillTasksSummaryOrThrowin interfaceStoreTypes.JobDataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static StoreTypes.JobData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-