Package org.apache.spark.status.protobuf
Class StoreTypes.InputMetricDistributions.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.InputMetricDistributions.Builder>
org.apache.spark.status.protobuf.StoreTypes.InputMetricDistributions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.InputMetricDistributionsOrBuilder
- Enclosing class:
- StoreTypes.InputMetricDistributions
public static final class StoreTypes.InputMetricDistributions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.InputMetricDistributions.Builder>
implements StoreTypes.InputMetricDistributionsOrBuilder
Protobuf type
org.apache.spark.status.protobuf.InputMetricDistributions
-
Method Summary
Modifier and TypeMethodDescriptionaddAllBytesRead
(Iterable<? extends Double> values) repeated double bytes_read = 1;
addAllRecordsRead
(Iterable<? extends Double> values) repeated double records_read = 2;
addBytesRead
(double value) repeated double bytes_read = 1;
addRecordsRead
(double value) repeated double records_read = 2;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated double bytes_read = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated double records_read = 2;
clone()
double
getBytesRead
(int index) repeated double bytes_read = 1;
int
repeated double bytes_read = 1;
repeated double bytes_read = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
getRecordsRead
(int index) repeated double records_read = 2;
int
repeated double records_read = 2;
repeated double records_read = 2;
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) setBytesRead
(int index, double value) repeated double bytes_read = 1;
setRecordsRead
(int index, double value) repeated double records_read = 2;
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.InputMetricDistributions.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.InputMetricDistributions.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.InputMetricDistributions.Builder>
-
setField
public StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
-
clearField
public StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
-
clearOneof
public StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
-
setRepeatedField
public StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
-
addRepeatedField
public StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.InputMetricDistributions.Builder>
-
mergeFrom
public StoreTypes.InputMetricDistributions.Builder mergeFrom(StoreTypes.InputMetricDistributions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.InputMetricDistributions.Builder>
-
mergeFrom
public StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
- Throws:
IOException
-
getBytesReadList
repeated double bytes_read = 1;
- Specified by:
getBytesReadList
in interfaceStoreTypes.InputMetricDistributionsOrBuilder
- Returns:
- A list containing the bytesRead.
-
getBytesReadCount
public int getBytesReadCount()repeated double bytes_read = 1;
- Specified by:
getBytesReadCount
in interfaceStoreTypes.InputMetricDistributionsOrBuilder
- Returns:
- The count of bytesRead.
-
getBytesRead
public double getBytesRead(int index) repeated double bytes_read = 1;
- Specified by:
getBytesRead
in interfaceStoreTypes.InputMetricDistributionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The bytesRead at the given index.
-
setBytesRead
repeated double bytes_read = 1;
- Parameters:
index
- The index to set the value at.value
- The bytesRead to set.- Returns:
- This builder for chaining.
-
addBytesRead
repeated double bytes_read = 1;
- Parameters:
value
- The bytesRead to add.- Returns:
- This builder for chaining.
-
addAllBytesRead
public StoreTypes.InputMetricDistributions.Builder addAllBytesRead(Iterable<? extends Double> values) repeated double bytes_read = 1;
- Parameters:
values
- The bytesRead to add.- Returns:
- This builder for chaining.
-
clearBytesRead
repeated double bytes_read = 1;
- Returns:
- This builder for chaining.
-
getRecordsReadList
repeated double records_read = 2;
- Specified by:
getRecordsReadList
in interfaceStoreTypes.InputMetricDistributionsOrBuilder
- Returns:
- A list containing the recordsRead.
-
getRecordsReadCount
public int getRecordsReadCount()repeated double records_read = 2;
- Specified by:
getRecordsReadCount
in interfaceStoreTypes.InputMetricDistributionsOrBuilder
- Returns:
- The count of recordsRead.
-
getRecordsRead
public double getRecordsRead(int index) repeated double records_read = 2;
- Specified by:
getRecordsRead
in interfaceStoreTypes.InputMetricDistributionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The recordsRead at the given index.
-
setRecordsRead
repeated double records_read = 2;
- Parameters:
index
- The index to set the value at.value
- The recordsRead to set.- Returns:
- This builder for chaining.
-
addRecordsRead
repeated double records_read = 2;
- Parameters:
value
- The recordsRead to add.- Returns:
- This builder for chaining.
-
addAllRecordsRead
public StoreTypes.InputMetricDistributions.Builder addAllRecordsRead(Iterable<? extends Double> values) repeated double records_read = 2;
- Parameters:
values
- The recordsRead to add.- Returns:
- This builder for chaining.
-
clearRecordsRead
repeated double records_read = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
-
mergeUnknownFields
public final StoreTypes.InputMetricDistributions.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.InputMetricDistributions.Builder>
-