Package org.apache.spark.status.protobuf
Class StoreTypes.ExecutorPeakMetricsDistributions.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorPeakMetricsDistributions.Builder>
org.apache.spark.status.protobuf.StoreTypes.ExecutorPeakMetricsDistributions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
- Enclosing class:
- StoreTypes.ExecutorPeakMetricsDistributions
public static final class StoreTypes.ExecutorPeakMetricsDistributions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorPeakMetricsDistributions.Builder>
implements StoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ExecutorPeakMetricsDistributions
-
Method Summary
Modifier and TypeMethodDescriptionaddAllExecutorMetrics
(Iterable<? extends StoreTypes.ExecutorMetrics> values) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
addAllQuantiles
(Iterable<? extends Double> values) repeated double quantiles = 1;
addExecutorMetrics
(int index, StoreTypes.ExecutorMetrics value) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
addExecutorMetrics
(int index, StoreTypes.ExecutorMetrics.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
addExecutorMetrics
(StoreTypes.ExecutorMetrics.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
addExecutorMetricsBuilder
(int index) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
addQuantiles
(double value) repeated double quantiles = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated double quantiles = 1;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getExecutorMetrics
(int index) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
getExecutorMetricsBuilder
(int index) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
int
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
getExecutorMetricsOrBuilder
(int index) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
List<? extends StoreTypes.ExecutorMetricsOrBuilder>
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
double
getQuantiles
(int index) repeated double quantiles = 1;
int
repeated double quantiles = 1;
repeated double quantiles = 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) removeExecutorMetrics
(int index) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
setExecutorMetrics
(int index, StoreTypes.ExecutorMetrics value) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
setExecutorMetrics
(int index, StoreTypes.ExecutorMetrics.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
setQuantiles
(int index, double value) repeated double quantiles = 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.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-
setField
public StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-
clearField
public StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-
clearOneof
public StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-
setRepeatedField
public StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-
addRepeatedField
public StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-
mergeFrom
public StoreTypes.ExecutorPeakMetricsDistributions.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ExecutorPeakMetricsDistributions.Builder>
-
mergeFrom
public StoreTypes.ExecutorPeakMetricsDistributions.Builder mergeFrom(StoreTypes.ExecutorPeakMetricsDistributions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorPeakMetricsDistributions.Builder>
-
mergeFrom
public StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
- Throws:
IOException
-
getQuantilesList
repeated double quantiles = 1;
- Specified by:
getQuantilesList
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
- Returns:
- A list containing the quantiles.
-
getQuantilesCount
public int getQuantilesCount()repeated double quantiles = 1;
- Specified by:
getQuantilesCount
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
- Returns:
- The count of quantiles.
-
getQuantiles
public double getQuantiles(int index) repeated double quantiles = 1;
- Specified by:
getQuantiles
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The quantiles at the given index.
-
setQuantiles
repeated double quantiles = 1;
- Parameters:
index
- The index to set the value at.value
- The quantiles to set.- Returns:
- This builder for chaining.
-
addQuantiles
repeated double quantiles = 1;
- Parameters:
value
- The quantiles to add.- Returns:
- This builder for chaining.
-
addAllQuantiles
public StoreTypes.ExecutorPeakMetricsDistributions.Builder addAllQuantiles(Iterable<? extends Double> values) repeated double quantiles = 1;
- Parameters:
values
- The quantiles to add.- Returns:
- This builder for chaining.
-
clearQuantiles
repeated double quantiles = 1;
- Returns:
- This builder for chaining.
-
getExecutorMetricsList
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
- Specified by:
getExecutorMetricsList
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
-
getExecutorMetricsCount
public int getExecutorMetricsCount()repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
- Specified by:
getExecutorMetricsCount
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
-
getExecutorMetrics
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
- Specified by:
getExecutorMetrics
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
-
setExecutorMetrics
public StoreTypes.ExecutorPeakMetricsDistributions.Builder setExecutorMetrics(int index, StoreTypes.ExecutorMetrics value) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
setExecutorMetrics
public StoreTypes.ExecutorPeakMetricsDistributions.Builder setExecutorMetrics(int index, StoreTypes.ExecutorMetrics.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
addExecutorMetrics
public StoreTypes.ExecutorPeakMetricsDistributions.Builder addExecutorMetrics(StoreTypes.ExecutorMetrics value) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
addExecutorMetrics
public StoreTypes.ExecutorPeakMetricsDistributions.Builder addExecutorMetrics(int index, StoreTypes.ExecutorMetrics value) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
addExecutorMetrics
public StoreTypes.ExecutorPeakMetricsDistributions.Builder addExecutorMetrics(StoreTypes.ExecutorMetrics.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
addExecutorMetrics
public StoreTypes.ExecutorPeakMetricsDistributions.Builder addExecutorMetrics(int index, StoreTypes.ExecutorMetrics.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
addAllExecutorMetrics
public StoreTypes.ExecutorPeakMetricsDistributions.Builder addAllExecutorMetrics(Iterable<? extends StoreTypes.ExecutorMetrics> values) repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
clearExecutorMetrics
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
removeExecutorMetrics
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
getExecutorMetricsBuilder
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
getExecutorMetricsOrBuilder
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
- Specified by:
getExecutorMetricsOrBuilder
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
-
getExecutorMetricsOrBuilderList
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
- Specified by:
getExecutorMetricsOrBuilderList
in interfaceStoreTypes.ExecutorPeakMetricsDistributionsOrBuilder
-
addExecutorMetricsBuilder
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
addExecutorMetricsBuilder
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
getExecutorMetricsBuilderList
repeated .org.apache.spark.status.protobuf.ExecutorMetrics executor_metrics = 2;
-
setUnknownFields
public final StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-
mergeUnknownFields
public final StoreTypes.ExecutorPeakMetricsDistributions.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.ExecutorPeakMetricsDistributions.Builder>
-