Package org.apache.spark.status.protobuf
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeorg.apache.spark.status.protobuf.JobData
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionboolean
map<string, int32> kill_tasks_summary = 20;
boolean
long
optional int64 completion_time = 5;
static StoreTypes.JobData
optional string description = 3;
com.google.protobuf.ByteString
optional string description = 3;
static final com.google.protobuf.Descriptors.Descriptor
optional string job_group = 7;
com.google.protobuf.ByteString
optional string job_group = 7;
long
getJobId()
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.ByteString
getJobTagsBytes
(int index) repeated string job_tags = 21;
int
repeated string job_tags = 21;
com.google.protobuf.ProtocolStringList
repeated string job_tags = 21;
Deprecated.int
map<string, int32> kill_tasks_summary = 20;
map<string, int32> kill_tasks_summary = 20;
int
getKillTasksSummaryOrDefault
(String key, int defaultValue) map<string, int32> kill_tasks_summary = 20;
int
map<string, int32> kill_tasks_summary = 20;
getName()
optional string name = 2;
com.google.protobuf.ByteString
optional string name = 2;
int
int32 num_active_stages = 16;
int
int32 num_active_tasks = 10;
int
int32 num_completed_indices = 15;
int
int32 num_completed_stages = 17;
int
int32 num_completed_tasks = 11;
int
int32 num_failed_stages = 19;
int
int32 num_failed_tasks = 13;
int
int32 num_killed_tasks = 14;
int
int32 num_skipped_stages = 18;
int
int32 num_skipped_tasks = 12;
int
int32 num_tasks = 9;
com.google.protobuf.Parser<StoreTypes.JobData>
int
long
getStageIds
(int index) repeated int64 stage_ids = 6;
int
repeated 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;
long
optional int64 submission_time = 4;
boolean
optional int64 completion_time = 5;
boolean
optional string description = 3;
int
hashCode()
boolean
optional string job_group = 7;
boolean
hasName()
optional string name = 2;
boolean
optional int64 submission_time = 4;
final boolean
static StoreTypes.JobData.Builder
static StoreTypes.JobData.Builder
newBuilder
(StoreTypes.JobData prototype) static StoreTypes.JobData
parseDelimitedFrom
(InputStream input) static StoreTypes.JobData
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobData
parseFrom
(byte[] data) static StoreTypes.JobData
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobData
parseFrom
(com.google.protobuf.ByteString data) static StoreTypes.JobData
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobData
parseFrom
(com.google.protobuf.CodedInputStream input) static StoreTypes.JobData
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobData
parseFrom
(InputStream input) static StoreTypes.JobData
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.JobData
parseFrom
(ByteBuffer data) static StoreTypes.JobData
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.JobData>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
getJobId
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The jobId.
-
hasName
public boolean hasName()optional string name = 2;
- Specified by:
hasName
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;
- Specified by:
getName
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;
- Specified by:
getNameBytes
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The bytes for name.
-
hasDescription
public boolean hasDescription()optional string description = 3;
- Specified by:
hasDescription
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 3;
- Specified by:
getDescription
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 3;
- Specified by:
getDescriptionBytes
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The bytes for description.
-
hasSubmissionTime
public boolean hasSubmissionTime()optional int64 submission_time = 4;
- Specified by:
hasSubmissionTime
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- Whether the submissionTime field is set.
-
getSubmissionTime
public long getSubmissionTime()optional int64 submission_time = 4;
- Specified by:
getSubmissionTime
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The submissionTime.
-
hasCompletionTime
public boolean hasCompletionTime()optional int64 completion_time = 5;
- Specified by:
hasCompletionTime
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- Whether the completionTime field is set.
-
getCompletionTime
public long getCompletionTime()optional int64 completion_time = 5;
- Specified by:
getCompletionTime
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The completionTime.
-
getStageIdsList
repeated int64 stage_ids = 6;
- Specified by:
getStageIdsList
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- A list containing the stageIds.
-
getStageIdsCount
public int getStageIdsCount()repeated int64 stage_ids = 6;
- Specified by:
getStageIdsCount
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The count of stageIds.
-
getStageIds
public long getStageIds(int index) repeated int64 stage_ids = 6;
- Specified by:
getStageIds
in 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:
hasJobGroup
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- Whether the jobGroup field is set.
-
getJobGroup
optional string job_group = 7;
- Specified by:
getJobGroup
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The jobGroup.
-
getJobGroupBytes
public com.google.protobuf.ByteString getJobGroupBytes()optional string job_group = 7;
- Specified by:
getJobGroupBytes
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The bytes for jobGroup.
-
getJobTagsList
public com.google.protobuf.ProtocolStringList getJobTagsList()repeated string job_tags = 21;
- Specified by:
getJobTagsList
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- A list containing the jobTags.
-
getJobTagsCount
public int getJobTagsCount()repeated string job_tags = 21;
- Specified by:
getJobTagsCount
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The count of jobTags.
-
getJobTags
repeated string job_tags = 21;
- Specified by:
getJobTags
in 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:
getJobTagsBytes
in 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:
getStatusValue
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
.org.apache.spark.status.protobuf.JobExecutionStatus status = 8;
- Specified by:
getStatus
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The status.
-
getNumTasks
public int getNumTasks()int32 num_tasks = 9;
- Specified by:
getNumTasks
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numTasks.
-
getNumActiveTasks
public int getNumActiveTasks()int32 num_active_tasks = 10;
- Specified by:
getNumActiveTasks
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numActiveTasks.
-
getNumCompletedTasks
public int getNumCompletedTasks()int32 num_completed_tasks = 11;
- Specified by:
getNumCompletedTasks
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numCompletedTasks.
-
getNumSkippedTasks
public int getNumSkippedTasks()int32 num_skipped_tasks = 12;
- Specified by:
getNumSkippedTasks
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numSkippedTasks.
-
getNumFailedTasks
public int getNumFailedTasks()int32 num_failed_tasks = 13;
- Specified by:
getNumFailedTasks
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numFailedTasks.
-
getNumKilledTasks
public int getNumKilledTasks()int32 num_killed_tasks = 14;
- Specified by:
getNumKilledTasks
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numKilledTasks.
-
getNumCompletedIndices
public int getNumCompletedIndices()int32 num_completed_indices = 15;
- Specified by:
getNumCompletedIndices
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numCompletedIndices.
-
getNumActiveStages
public int getNumActiveStages()int32 num_active_stages = 16;
- Specified by:
getNumActiveStages
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numActiveStages.
-
getNumCompletedStages
public int getNumCompletedStages()int32 num_completed_stages = 17;
- Specified by:
getNumCompletedStages
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numCompletedStages.
-
getNumSkippedStages
public int getNumSkippedStages()int32 num_skipped_stages = 18;
- Specified by:
getNumSkippedStages
in interfaceStoreTypes.JobDataOrBuilder
- Returns:
- The numSkippedStages.
-
getNumFailedStages
public int getNumFailedStages()int32 num_failed_stages = 19;
- Specified by:
getNumFailedStages
in interfaceStoreTypes.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 interfaceStoreTypes.JobDataOrBuilder
-
containsKillTasksSummary
map<string, int32> kill_tasks_summary = 20;
- Specified by:
containsKillTasksSummary
in interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummary
Deprecated.UsegetKillTasksSummaryMap()
instead.- Specified by:
getKillTasksSummary
in interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummaryMap
map<string, int32> kill_tasks_summary = 20;
- Specified by:
getKillTasksSummaryMap
in interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummaryOrDefault
map<string, int32> kill_tasks_summary = 20;
- Specified by:
getKillTasksSummaryOrDefault
in interfaceStoreTypes.JobDataOrBuilder
-
getKillTasksSummaryOrThrow
map<string, int32> kill_tasks_summary = 20;
- Specified by:
getKillTasksSummaryOrThrow
in interfaceStoreTypes.JobDataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-