Package org.apache.spark.status.protobuf
Class StoreTypes.ExecutorStageSummary.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
org.apache.spark.status.protobuf.StoreTypes.ExecutorStageSummary.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.ExecutorStageSummaryOrBuilder
- Enclosing class:
- StoreTypes.ExecutorStageSummary
public static final class StoreTypes.ExecutorStageSummary.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
implements StoreTypes.ExecutorStageSummaryOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ExecutorStageSummary
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
int64 disk_bytes_spilled = 14;
int32 failed_tasks = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) int64 input_bytes = 5;
int64 input_records = 6;
bool is_blacklisted_for_stage = 15;
bool is_excluded_for_stage = 17;
int32 killed_tasks = 4;
int64 memory_bytes_spilled = 13;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) int64 output_bytes = 7;
int64 output_records = 8;
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
int64 shuffle_read = 9;
int64 shuffle_read_records = 10;
int64 shuffle_write = 11;
int64 shuffle_write_records = 12;
int32 succeeded_tasks = 3;
int64 task_time = 1;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
int64 disk_bytes_spilled = 14;
int
int32 failed_tasks = 2;
long
int64 input_bytes = 5;
long
int64 input_records = 6;
boolean
bool is_blacklisted_for_stage = 15;
boolean
bool is_excluded_for_stage = 17;
int
int32 killed_tasks = 4;
long
int64 memory_bytes_spilled = 13;
long
int64 output_bytes = 7;
long
int64 output_records = 8;
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
long
int64 shuffle_read = 9;
long
int64 shuffle_read_records = 10;
long
int64 shuffle_write = 11;
long
int64 shuffle_write_records = 12;
int
int32 succeeded_tasks = 3;
long
int64 task_time = 1;
boolean
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setDiskBytesSpilled
(long value) int64 disk_bytes_spilled = 14;
setFailedTasks
(int value) int32 failed_tasks = 2;
setInputBytes
(long value) int64 input_bytes = 5;
setInputRecords
(long value) int64 input_records = 6;
setIsBlacklistedForStage
(boolean value) bool is_blacklisted_for_stage = 15;
setIsExcludedForStage
(boolean value) bool is_excluded_for_stage = 17;
setKilledTasks
(int value) int32 killed_tasks = 4;
setMemoryBytesSpilled
(long value) int64 memory_bytes_spilled = 13;
setOutputBytes
(long value) int64 output_bytes = 7;
setOutputRecords
(long value) int64 output_records = 8;
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
setPeakMemoryMetrics
(StoreTypes.ExecutorMetrics.Builder builderForValue) optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setShuffleRead
(long value) int64 shuffle_read = 9;
setShuffleReadRecords
(long value) int64 shuffle_read_records = 10;
setShuffleWrite
(long value) int64 shuffle_write = 11;
setShuffleWriteRecords
(long value) int64 shuffle_write_records = 12;
setSucceededTasks
(int value) int32 succeeded_tasks = 3;
setTaskTime
(long value) int64 task_time = 1;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
setField
public StoreTypes.ExecutorStageSummary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
clearField
public StoreTypes.ExecutorStageSummary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
clearOneof
public StoreTypes.ExecutorStageSummary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
setRepeatedField
public StoreTypes.ExecutorStageSummary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
addRepeatedField
public StoreTypes.ExecutorStageSummary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
mergeFrom
public StoreTypes.ExecutorStageSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ExecutorStageSummary.Builder>
- Throws:
IOException
-
getTaskTime
public long getTaskTime()int64 task_time = 1;
- Specified by:
getTaskTime
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The taskTime.
-
setTaskTime
int64 task_time = 1;
- Parameters:
value
- The taskTime to set.- Returns:
- This builder for chaining.
-
clearTaskTime
int64 task_time = 1;
- Returns:
- This builder for chaining.
-
getFailedTasks
public int getFailedTasks()int32 failed_tasks = 2;
- Specified by:
getFailedTasks
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The failedTasks.
-
setFailedTasks
int32 failed_tasks = 2;
- Parameters:
value
- The failedTasks to set.- Returns:
- This builder for chaining.
-
clearFailedTasks
int32 failed_tasks = 2;
- Returns:
- This builder for chaining.
-
getSucceededTasks
public int getSucceededTasks()int32 succeeded_tasks = 3;
- Specified by:
getSucceededTasks
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The succeededTasks.
-
setSucceededTasks
int32 succeeded_tasks = 3;
- Parameters:
value
- The succeededTasks to set.- Returns:
- This builder for chaining.
-
clearSucceededTasks
int32 succeeded_tasks = 3;
- Returns:
- This builder for chaining.
-
getKilledTasks
public int getKilledTasks()int32 killed_tasks = 4;
- Specified by:
getKilledTasks
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The killedTasks.
-
setKilledTasks
int32 killed_tasks = 4;
- Parameters:
value
- The killedTasks to set.- Returns:
- This builder for chaining.
-
clearKilledTasks
int32 killed_tasks = 4;
- Returns:
- This builder for chaining.
-
getInputBytes
public long getInputBytes()int64 input_bytes = 5;
- Specified by:
getInputBytes
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The inputBytes.
-
setInputBytes
int64 input_bytes = 5;
- Parameters:
value
- The inputBytes to set.- Returns:
- This builder for chaining.
-
clearInputBytes
int64 input_bytes = 5;
- Returns:
- This builder for chaining.
-
getInputRecords
public long getInputRecords()int64 input_records = 6;
- Specified by:
getInputRecords
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The inputRecords.
-
setInputRecords
int64 input_records = 6;
- Parameters:
value
- The inputRecords to set.- Returns:
- This builder for chaining.
-
clearInputRecords
int64 input_records = 6;
- Returns:
- This builder for chaining.
-
getOutputBytes
public long getOutputBytes()int64 output_bytes = 7;
- Specified by:
getOutputBytes
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The outputBytes.
-
setOutputBytes
int64 output_bytes = 7;
- Parameters:
value
- The outputBytes to set.- Returns:
- This builder for chaining.
-
clearOutputBytes
int64 output_bytes = 7;
- Returns:
- This builder for chaining.
-
getOutputRecords
public long getOutputRecords()int64 output_records = 8;
- Specified by:
getOutputRecords
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The outputRecords.
-
setOutputRecords
int64 output_records = 8;
- Parameters:
value
- The outputRecords to set.- Returns:
- This builder for chaining.
-
clearOutputRecords
int64 output_records = 8;
- Returns:
- This builder for chaining.
-
getShuffleRead
public long getShuffleRead()int64 shuffle_read = 9;
- Specified by:
getShuffleRead
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The shuffleRead.
-
setShuffleRead
int64 shuffle_read = 9;
- Parameters:
value
- The shuffleRead to set.- Returns:
- This builder for chaining.
-
clearShuffleRead
int64 shuffle_read = 9;
- Returns:
- This builder for chaining.
-
getShuffleReadRecords
public long getShuffleReadRecords()int64 shuffle_read_records = 10;
- Specified by:
getShuffleReadRecords
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The shuffleReadRecords.
-
setShuffleReadRecords
int64 shuffle_read_records = 10;
- Parameters:
value
- The shuffleReadRecords to set.- Returns:
- This builder for chaining.
-
clearShuffleReadRecords
int64 shuffle_read_records = 10;
- Returns:
- This builder for chaining.
-
getShuffleWrite
public long getShuffleWrite()int64 shuffle_write = 11;
- Specified by:
getShuffleWrite
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The shuffleWrite.
-
setShuffleWrite
int64 shuffle_write = 11;
- Parameters:
value
- The shuffleWrite to set.- Returns:
- This builder for chaining.
-
clearShuffleWrite
int64 shuffle_write = 11;
- Returns:
- This builder for chaining.
-
getShuffleWriteRecords
public long getShuffleWriteRecords()int64 shuffle_write_records = 12;
- Specified by:
getShuffleWriteRecords
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The shuffleWriteRecords.
-
setShuffleWriteRecords
int64 shuffle_write_records = 12;
- Parameters:
value
- The shuffleWriteRecords to set.- Returns:
- This builder for chaining.
-
clearShuffleWriteRecords
int64 shuffle_write_records = 12;
- Returns:
- This builder for chaining.
-
getMemoryBytesSpilled
public long getMemoryBytesSpilled()int64 memory_bytes_spilled = 13;
- Specified by:
getMemoryBytesSpilled
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The memoryBytesSpilled.
-
setMemoryBytesSpilled
int64 memory_bytes_spilled = 13;
- Parameters:
value
- The memoryBytesSpilled to set.- Returns:
- This builder for chaining.
-
clearMemoryBytesSpilled
int64 memory_bytes_spilled = 13;
- Returns:
- This builder for chaining.
-
getDiskBytesSpilled
public long getDiskBytesSpilled()int64 disk_bytes_spilled = 14;
- Specified by:
getDiskBytesSpilled
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The diskBytesSpilled.
-
setDiskBytesSpilled
int64 disk_bytes_spilled = 14;
- Parameters:
value
- The diskBytesSpilled to set.- Returns:
- This builder for chaining.
-
clearDiskBytesSpilled
int64 disk_bytes_spilled = 14;
- Returns:
- This builder for chaining.
-
getIsBlacklistedForStage
public boolean getIsBlacklistedForStage()bool is_blacklisted_for_stage = 15;
- Specified by:
getIsBlacklistedForStage
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The isBlacklistedForStage.
-
setIsBlacklistedForStage
bool is_blacklisted_for_stage = 15;
- Parameters:
value
- The isBlacklistedForStage to set.- Returns:
- This builder for chaining.
-
clearIsBlacklistedForStage
bool is_blacklisted_for_stage = 15;
- Returns:
- This builder for chaining.
-
hasPeakMemoryMetrics
public boolean hasPeakMemoryMetrics()optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
- Specified by:
hasPeakMemoryMetrics
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- Whether the peakMemoryMetrics field is set.
-
getPeakMemoryMetrics
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
- Specified by:
getPeakMemoryMetrics
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The peakMemoryMetrics.
-
setPeakMemoryMetrics
public StoreTypes.ExecutorStageSummary.Builder setPeakMemoryMetrics(StoreTypes.ExecutorMetrics value) optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
-
setPeakMemoryMetrics
public StoreTypes.ExecutorStageSummary.Builder setPeakMemoryMetrics(StoreTypes.ExecutorMetrics.Builder builderForValue) optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
-
mergePeakMemoryMetrics
public StoreTypes.ExecutorStageSummary.Builder mergePeakMemoryMetrics(StoreTypes.ExecutorMetrics value) optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
-
clearPeakMemoryMetrics
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
-
getPeakMemoryMetricsBuilder
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
-
getPeakMemoryMetricsOrBuilder
optional .org.apache.spark.status.protobuf.ExecutorMetrics peak_memory_metrics = 16;
- Specified by:
getPeakMemoryMetricsOrBuilder
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
-
getIsExcludedForStage
public boolean getIsExcludedForStage()bool is_excluded_for_stage = 17;
- Specified by:
getIsExcludedForStage
in interfaceStoreTypes.ExecutorStageSummaryOrBuilder
- Returns:
- The isExcludedForStage.
-
setIsExcludedForStage
bool is_excluded_for_stage = 17;
- Parameters:
value
- The isExcludedForStage to set.- Returns:
- This builder for chaining.
-
clearIsExcludedForStage
bool is_excluded_for_stage = 17;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.ExecutorStageSummary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-
mergeUnknownFields
public final StoreTypes.ExecutorStageSummary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorStageSummary.Builder>
-