public static final class StoreTypes.ExecutorMetrics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder> implements StoreTypes.ExecutorMetricsOrBuilder
org.apache.spark.status.protobuf.ExecutorMetrics
Modifier and Type | Method and Description |
---|---|
StoreTypes.ExecutorMetrics.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ExecutorMetrics |
build() |
StoreTypes.ExecutorMetrics |
buildPartial() |
StoreTypes.ExecutorMetrics.Builder |
clear() |
StoreTypes.ExecutorMetrics.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.ExecutorMetrics.Builder |
clearMetrics() |
StoreTypes.ExecutorMetrics.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.ExecutorMetrics.Builder |
clone() |
boolean |
containsMetrics(String key)
map<string, int64> metrics = 1; |
StoreTypes.ExecutorMetrics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<String,Long> |
getMetrics()
Deprecated.
|
int |
getMetricsCount()
map<string, int64> metrics = 1; |
java.util.Map<String,Long> |
getMetricsMap()
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; |
java.util.Map<String,Long> |
getMutableMetrics()
Deprecated.
|
boolean |
isInitialized() |
StoreTypes.ExecutorMetrics.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.ExecutorMetrics.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.ExecutorMetrics.Builder |
mergeFrom(StoreTypes.ExecutorMetrics other) |
StoreTypes.ExecutorMetrics.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.ExecutorMetrics.Builder |
putAllMetrics(java.util.Map<String,Long> values)
map<string, int64> metrics = 1; |
StoreTypes.ExecutorMetrics.Builder |
putMetrics(String key,
long value)
map<string, int64> metrics = 1; |
StoreTypes.ExecutorMetrics.Builder |
removeMetrics(String key)
map<string, int64> metrics = 1; |
StoreTypes.ExecutorMetrics.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ExecutorMetrics.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.ExecutorMetrics.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StoreTypes.ExecutorMetrics.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.ExecutorMetrics build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ExecutorMetrics buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ExecutorMetrics.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder mergeFrom(StoreTypes.ExecutorMetrics other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public StoreTypes.ExecutorMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ExecutorMetrics.Builder>
java.io.IOException
public int getMetricsCount()
StoreTypes.ExecutorMetricsOrBuilder
map<string, int64> metrics = 1;
getMetricsCount
in interface StoreTypes.ExecutorMetricsOrBuilder
public boolean containsMetrics(String key)
map<string, int64> metrics = 1;
containsMetrics
in interface StoreTypes.ExecutorMetricsOrBuilder
@Deprecated public java.util.Map<String,Long> getMetrics()
getMetricsMap()
instead.getMetrics
in interface StoreTypes.ExecutorMetricsOrBuilder
public java.util.Map<String,Long> getMetricsMap()
map<string, int64> metrics = 1;
getMetricsMap
in interface StoreTypes.ExecutorMetricsOrBuilder
public long getMetricsOrDefault(String key, long defaultValue)
map<string, int64> metrics = 1;
getMetricsOrDefault
in interface StoreTypes.ExecutorMetricsOrBuilder
public long getMetricsOrThrow(String key)
map<string, int64> metrics = 1;
getMetricsOrThrow
in interface StoreTypes.ExecutorMetricsOrBuilder
public StoreTypes.ExecutorMetrics.Builder clearMetrics()
public StoreTypes.ExecutorMetrics.Builder removeMetrics(String key)
map<string, int64> metrics = 1;
@Deprecated public java.util.Map<String,Long> getMutableMetrics()
public StoreTypes.ExecutorMetrics.Builder putMetrics(String key, long value)
map<string, int64> metrics = 1;
public StoreTypes.ExecutorMetrics.Builder putAllMetrics(java.util.Map<String,Long> values)
map<string, int64> metrics = 1;
public final StoreTypes.ExecutorMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>
public final StoreTypes.ExecutorMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ExecutorMetrics.Builder>