Package org.apache.spark.status.protobuf
Class StoreTypes.SpeculationStageSummary.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SpeculationStageSummary.Builder>
org.apache.spark.status.protobuf.StoreTypes.SpeculationStageSummary.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.SpeculationStageSummaryOrBuilder
- Enclosing class:
- StoreTypes.SpeculationStageSummary
public static final class StoreTypes.SpeculationStageSummary.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SpeculationStageSummary.Builder>
implements StoreTypes.SpeculationStageSummaryOrBuilder
Protobuf type
org.apache.spark.status.protobuf.SpeculationStageSummary
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) int32 num_active_tasks = 2;
int32 num_completed_tasks = 3;
int32 num_failed_tasks = 4;
int32 num_killed_tasks = 5;
int32 num_tasks = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
int32 num_active_tasks = 2;
int
int32 num_completed_tasks = 3;
int
int32 num_failed_tasks = 4;
int
int32 num_killed_tasks = 5;
int
int32 num_tasks = 1;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setNumActiveTasks
(int value) int32 num_active_tasks = 2;
setNumCompletedTasks
(int value) int32 num_completed_tasks = 3;
setNumFailedTasks
(int value) int32 num_failed_tasks = 4;
setNumKilledTasks
(int value) int32 num_killed_tasks = 5;
setNumTasks
(int value) int32 num_tasks = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.SpeculationStageSummary.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.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-
setField
public StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-
clearField
public StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-
clearOneof
public StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-
setRepeatedField
public StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-
addRepeatedField
public StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.SpeculationStageSummary.Builder>
-
mergeFrom
public StoreTypes.SpeculationStageSummary.Builder mergeFrom(StoreTypes.SpeculationStageSummary other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SpeculationStageSummary.Builder>
-
mergeFrom
public StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
- Throws:
IOException
-
getNumTasks
public int getNumTasks()int32 num_tasks = 1;
- Specified by:
getNumTasks
in interfaceStoreTypes.SpeculationStageSummaryOrBuilder
- Returns:
- The numTasks.
-
setNumTasks
int32 num_tasks = 1;
- Parameters:
value
- The numTasks to set.- Returns:
- This builder for chaining.
-
clearNumTasks
int32 num_tasks = 1;
- Returns:
- This builder for chaining.
-
getNumActiveTasks
public int getNumActiveTasks()int32 num_active_tasks = 2;
- Specified by:
getNumActiveTasks
in interfaceStoreTypes.SpeculationStageSummaryOrBuilder
- Returns:
- The numActiveTasks.
-
setNumActiveTasks
int32 num_active_tasks = 2;
- Parameters:
value
- The numActiveTasks to set.- Returns:
- This builder for chaining.
-
clearNumActiveTasks
int32 num_active_tasks = 2;
- Returns:
- This builder for chaining.
-
getNumCompletedTasks
public int getNumCompletedTasks()int32 num_completed_tasks = 3;
- Specified by:
getNumCompletedTasks
in interfaceStoreTypes.SpeculationStageSummaryOrBuilder
- Returns:
- The numCompletedTasks.
-
setNumCompletedTasks
int32 num_completed_tasks = 3;
- Parameters:
value
- The numCompletedTasks to set.- Returns:
- This builder for chaining.
-
clearNumCompletedTasks
int32 num_completed_tasks = 3;
- Returns:
- This builder for chaining.
-
getNumFailedTasks
public int getNumFailedTasks()int32 num_failed_tasks = 4;
- Specified by:
getNumFailedTasks
in interfaceStoreTypes.SpeculationStageSummaryOrBuilder
- Returns:
- The numFailedTasks.
-
setNumFailedTasks
int32 num_failed_tasks = 4;
- Parameters:
value
- The numFailedTasks to set.- Returns:
- This builder for chaining.
-
clearNumFailedTasks
int32 num_failed_tasks = 4;
- Returns:
- This builder for chaining.
-
getNumKilledTasks
public int getNumKilledTasks()int32 num_killed_tasks = 5;
- Specified by:
getNumKilledTasks
in interfaceStoreTypes.SpeculationStageSummaryOrBuilder
- Returns:
- The numKilledTasks.
-
setNumKilledTasks
int32 num_killed_tasks = 5;
- Parameters:
value
- The numKilledTasks to set.- Returns:
- This builder for chaining.
-
clearNumKilledTasks
int32 num_killed_tasks = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-
mergeUnknownFields
public final StoreTypes.SpeculationStageSummary.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.SpeculationStageSummary.Builder>
-