Package org.apache.spark.status.protobuf
Class StoreTypes.ShuffleWriteMetricDistributions.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ShuffleWriteMetricDistributions.Builder>
org.apache.spark.status.protobuf.StoreTypes.ShuffleWriteMetricDistributions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Enclosing class:
- StoreTypes.ShuffleWriteMetricDistributions
public static final class StoreTypes.ShuffleWriteMetricDistributions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ShuffleWriteMetricDistributions.Builder>
implements StoreTypes.ShuffleWriteMetricDistributionsOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ShuffleWriteMetricDistributions
-
Method Summary
Modifier and TypeMethodDescriptionaddAllWriteBytes
(Iterable<? extends Double> values) repeated double write_bytes = 1;
addAllWriteRecords
(Iterable<? extends Double> values) repeated double write_records = 2;
addAllWriteTime
(Iterable<? extends Double> values) repeated double write_time = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addWriteBytes
(double value) repeated double write_bytes = 1;
addWriteRecords
(double value) repeated double write_records = 2;
addWriteTime
(double value) repeated double write_time = 3;
build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated double write_bytes = 1;
repeated double write_records = 2;
repeated double write_time = 3;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
getWriteBytes
(int index) repeated double write_bytes = 1;
int
repeated double write_bytes = 1;
repeated double write_bytes = 1;
double
getWriteRecords
(int index) repeated double write_records = 2;
int
repeated double write_records = 2;
repeated double write_records = 2;
double
getWriteTime
(int index) repeated double write_time = 3;
int
repeated double write_time = 3;
repeated double write_time = 3;
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) setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWriteBytes
(int index, double value) repeated double write_bytes = 1;
setWriteRecords
(int index, double value) repeated double write_records = 2;
setWriteTime
(int index, double value) repeated double write_time = 3;
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.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
setField
public StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
clearField
public StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
clearOneof
public StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
setRepeatedField
public StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
addRepeatedField
public StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
mergeFrom
public StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
mergeFrom
public StoreTypes.ShuffleWriteMetricDistributions.Builder mergeFrom(StoreTypes.ShuffleWriteMetricDistributions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ShuffleWriteMetricDistributions.Builder>
-
mergeFrom
public StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
- Throws:
IOException
-
getWriteBytesList
repeated double write_bytes = 1;
- Specified by:
getWriteBytesList
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Returns:
- A list containing the writeBytes.
-
getWriteBytesCount
public int getWriteBytesCount()repeated double write_bytes = 1;
- Specified by:
getWriteBytesCount
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Returns:
- The count of writeBytes.
-
getWriteBytes
public double getWriteBytes(int index) repeated double write_bytes = 1;
- Specified by:
getWriteBytes
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The writeBytes at the given index.
-
setWriteBytes
repeated double write_bytes = 1;
- Parameters:
index
- The index to set the value at.value
- The writeBytes to set.- Returns:
- This builder for chaining.
-
addWriteBytes
repeated double write_bytes = 1;
- Parameters:
value
- The writeBytes to add.- Returns:
- This builder for chaining.
-
addAllWriteBytes
public StoreTypes.ShuffleWriteMetricDistributions.Builder addAllWriteBytes(Iterable<? extends Double> values) repeated double write_bytes = 1;
- Parameters:
values
- The writeBytes to add.- Returns:
- This builder for chaining.
-
clearWriteBytes
repeated double write_bytes = 1;
- Returns:
- This builder for chaining.
-
getWriteRecordsList
repeated double write_records = 2;
- Specified by:
getWriteRecordsList
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Returns:
- A list containing the writeRecords.
-
getWriteRecordsCount
public int getWriteRecordsCount()repeated double write_records = 2;
- Specified by:
getWriteRecordsCount
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Returns:
- The count of writeRecords.
-
getWriteRecords
public double getWriteRecords(int index) repeated double write_records = 2;
- Specified by:
getWriteRecords
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The writeRecords at the given index.
-
setWriteRecords
repeated double write_records = 2;
- Parameters:
index
- The index to set the value at.value
- The writeRecords to set.- Returns:
- This builder for chaining.
-
addWriteRecords
repeated double write_records = 2;
- Parameters:
value
- The writeRecords to add.- Returns:
- This builder for chaining.
-
addAllWriteRecords
public StoreTypes.ShuffleWriteMetricDistributions.Builder addAllWriteRecords(Iterable<? extends Double> values) repeated double write_records = 2;
- Parameters:
values
- The writeRecords to add.- Returns:
- This builder for chaining.
-
clearWriteRecords
repeated double write_records = 2;
- Returns:
- This builder for chaining.
-
getWriteTimeList
repeated double write_time = 3;
- Specified by:
getWriteTimeList
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Returns:
- A list containing the writeTime.
-
getWriteTimeCount
public int getWriteTimeCount()repeated double write_time = 3;
- Specified by:
getWriteTimeCount
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Returns:
- The count of writeTime.
-
getWriteTime
public double getWriteTime(int index) repeated double write_time = 3;
- Specified by:
getWriteTime
in interfaceStoreTypes.ShuffleWriteMetricDistributionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The writeTime at the given index.
-
setWriteTime
repeated double write_time = 3;
- Parameters:
index
- The index to set the value at.value
- The writeTime to set.- Returns:
- This builder for chaining.
-
addWriteTime
repeated double write_time = 3;
- Parameters:
value
- The writeTime to add.- Returns:
- This builder for chaining.
-
addAllWriteTime
public StoreTypes.ShuffleWriteMetricDistributions.Builder addAllWriteTime(Iterable<? extends Double> values) repeated double write_time = 3;
- Parameters:
values
- The writeTime to add.- Returns:
- This builder for chaining.
-
clearWriteTime
repeated double write_time = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-
mergeUnknownFields
public final StoreTypes.ShuffleWriteMetricDistributions.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.ShuffleWriteMetricDistributions.Builder>
-