Package org.apache.spark.status.protobuf
Class StoreTypes.ExecutorMetrics.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
org.apache.spark.status.protobuf.StoreTypes.ExecutorMetrics.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.ExecutorMetricsOrBuilder
- Enclosing class:
- StoreTypes.ExecutorMetrics
public static final class StoreTypes.ExecutorMetrics.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
implements StoreTypes.ExecutorMetricsOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ExecutorMetrics
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
containsMetrics
(String key) map<string, int64> metrics = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, int64> metrics = 1;
map<string, int64> metrics = 1;
long
getMetricsOrDefault
(String key, long defaultValue) map<string, int64> metrics = 1;
long
getMetricsOrThrow
(String key) map<string, int64> metrics = 1;
Deprecated.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) putAllMetrics
(Map<String, Long> values) map<string, int64> metrics = 1;
putMetrics
(String key, long value) map<string, int64> metrics = 1;
removeMetrics
(String key) map<string, int64> metrics = 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.ExecutorMetrics.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.ExecutorMetrics.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.ExecutorMetrics.Builder>
-
setField
public StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
-
clearField
public StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
-
clearOneof
public StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
-
setRepeatedField
public StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
-
addRepeatedField
public StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ExecutorMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
-
mergeFrom
public StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
- Throws:
IOException
-
getMetricsCount
public int getMetricsCount()Description copied from interface:StoreTypes.ExecutorMetricsOrBuilder
map<string, int64> metrics = 1;
- Specified by:
getMetricsCount
in interfaceStoreTypes.ExecutorMetricsOrBuilder
-
containsMetrics
map<string, int64> metrics = 1;
- Specified by:
containsMetrics
in interfaceStoreTypes.ExecutorMetricsOrBuilder
-
getMetrics
Deprecated.UsegetMetricsMap()
instead.- Specified by:
getMetrics
in interfaceStoreTypes.ExecutorMetricsOrBuilder
-
getMetricsMap
map<string, int64> metrics = 1;
- Specified by:
getMetricsMap
in interfaceStoreTypes.ExecutorMetricsOrBuilder
-
getMetricsOrDefault
map<string, int64> metrics = 1;
- Specified by:
getMetricsOrDefault
in interfaceStoreTypes.ExecutorMetricsOrBuilder
-
getMetricsOrThrow
map<string, int64> metrics = 1;
- Specified by:
getMetricsOrThrow
in interfaceStoreTypes.ExecutorMetricsOrBuilder
-
clearMetrics
-
removeMetrics
map<string, int64> metrics = 1;
-
getMutableMetrics
Deprecated.Use alternate mutation accessors instead. -
putMetrics
map<string, int64> metrics = 1;
-
putAllMetrics
map<string, int64> metrics = 1;
-
setUnknownFields
public final StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
-
mergeUnknownFields
public final StoreTypes.ExecutorMetrics.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.ExecutorMetrics.Builder>
-