public static final class Metric.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder> implements MetricOrBuilder
Information about metrics.Protobuf type
alluxio.grpc.Metric
Modifier and Type | Method and Description |
---|---|
Metric.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metric |
build() |
Metric |
buildPartial() |
Metric.Builder |
clear() |
Metric.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Metric.Builder |
clearHostname()
optional string hostname = 2; |
Metric.Builder |
clearInstance()
optional string instance = 1; |
Metric.Builder |
clearInstanceId()
optional string instanceId = 3; |
Metric.Builder |
clearMetricType()
required .alluxio.grpc.MetricType metricType = 6; |
Metric.Builder |
clearName()
optional string name = 4; |
Metric.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Metric.Builder |
clearTags() |
Metric.Builder |
clearValue()
optional double value = 5; |
Metric.Builder |
clone() |
boolean |
containsTags(String key)
map<string, string> tags = 7; |
Metric |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostname()
optional string hostname = 2; |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 2; |
String |
getInstance()
optional string instance = 1; |
com.google.protobuf.ByteString |
getInstanceBytes()
optional string instance = 1; |
String |
getInstanceId()
optional string instanceId = 3; |
com.google.protobuf.ByteString |
getInstanceIdBytes()
optional string instanceId = 3; |
MetricType |
getMetricType()
required .alluxio.grpc.MetricType metricType = 6; |
Map<String,String> |
getMutableTags()
Deprecated.
|
String |
getName()
optional string name = 4; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 4; |
Map<String,String> |
getTags()
Deprecated.
|
int |
getTagsCount()
map<string, string> tags = 7; |
Map<String,String> |
getTagsMap()
map<string, string> tags = 7; |
String |
getTagsOrDefault(String key,
String defaultValue)
map<string, string> tags = 7; |
String |
getTagsOrThrow(String key)
map<string, string> tags = 7; |
double |
getValue()
optional double value = 5; |
boolean |
hasHostname()
optional string hostname = 2; |
boolean |
hasInstance()
optional string instance = 1; |
boolean |
hasInstanceId()
optional string instanceId = 3; |
boolean |
hasMetricType()
required .alluxio.grpc.MetricType metricType = 6; |
boolean |
hasName()
optional string name = 4; |
boolean |
hasValue()
optional double value = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Metric.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metric.Builder |
mergeFrom(com.google.protobuf.Message other) |
Metric.Builder |
mergeFrom(Metric other) |
Metric.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metric.Builder |
putAllTags(Map<String,String> values)
map<string, string> tags = 7; |
Metric.Builder |
putTags(String key,
String value)
map<string, string> tags = 7; |
Metric.Builder |
removeTags(String key)
map<string, string> tags = 7; |
Metric.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Metric.Builder |
setHostname(String value)
optional string hostname = 2; |
Metric.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 2; |
Metric.Builder |
setInstance(String value)
optional string instance = 1; |
Metric.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
optional string instance = 1; |
Metric.Builder |
setInstanceId(String value)
optional string instanceId = 3; |
Metric.Builder |
setInstanceIdBytes(com.google.protobuf.ByteString value)
optional string instanceId = 3; |
Metric.Builder |
setMetricType(MetricType value)
required .alluxio.grpc.MetricType metricType = 6; |
Metric.Builder |
setName(String value)
optional string name = 4; |
Metric.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 4; |
Metric.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Metric.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metric.Builder |
setValue(double value)
optional double value = 5; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
public Metric.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<Metric.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<Metric.Builder>
public Metric getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Metric build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Metric buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Metric.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<Metric.Builder>
public Metric.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<Metric.Builder>
public Metric.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
public Metric.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
public Metric.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<Metric.Builder>
public Metric.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<Metric.Builder>
public Metric.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Metric.Builder>
public Metric.Builder mergeFrom(Metric other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
public Metric.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<Metric.Builder>
IOException
public boolean hasInstance()
optional string instance = 1;
hasInstance
in interface MetricOrBuilder
public String getInstance()
optional string instance = 1;
getInstance
in interface MetricOrBuilder
public com.google.protobuf.ByteString getInstanceBytes()
optional string instance = 1;
getInstanceBytes
in interface MetricOrBuilder
public Metric.Builder setInstance(String value)
optional string instance = 1;
public Metric.Builder clearInstance()
optional string instance = 1;
public Metric.Builder setInstanceBytes(com.google.protobuf.ByteString value)
optional string instance = 1;
public boolean hasHostname()
optional string hostname = 2;
hasHostname
in interface MetricOrBuilder
public String getHostname()
optional string hostname = 2;
getHostname
in interface MetricOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
optional string hostname = 2;
getHostnameBytes
in interface MetricOrBuilder
public Metric.Builder setHostname(String value)
optional string hostname = 2;
public Metric.Builder clearHostname()
optional string hostname = 2;
public Metric.Builder setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 2;
public boolean hasInstanceId()
optional string instanceId = 3;
hasInstanceId
in interface MetricOrBuilder
public String getInstanceId()
optional string instanceId = 3;
getInstanceId
in interface MetricOrBuilder
public com.google.protobuf.ByteString getInstanceIdBytes()
optional string instanceId = 3;
getInstanceIdBytes
in interface MetricOrBuilder
public Metric.Builder setInstanceId(String value)
optional string instanceId = 3;
public Metric.Builder clearInstanceId()
optional string instanceId = 3;
public Metric.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
optional string instanceId = 3;
public boolean hasName()
optional string name = 4;
hasName
in interface MetricOrBuilder
public String getName()
optional string name = 4;
getName
in interface MetricOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 4;
getNameBytes
in interface MetricOrBuilder
public Metric.Builder setName(String value)
optional string name = 4;
public Metric.Builder clearName()
optional string name = 4;
public Metric.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 4;
public boolean hasValue()
optional double value = 5;
hasValue
in interface MetricOrBuilder
public double getValue()
optional double value = 5;
getValue
in interface MetricOrBuilder
public Metric.Builder setValue(double value)
optional double value = 5;
public Metric.Builder clearValue()
optional double value = 5;
public boolean hasMetricType()
required .alluxio.grpc.MetricType metricType = 6;
hasMetricType
in interface MetricOrBuilder
public MetricType getMetricType()
required .alluxio.grpc.MetricType metricType = 6;
getMetricType
in interface MetricOrBuilder
public Metric.Builder setMetricType(MetricType value)
required .alluxio.grpc.MetricType metricType = 6;
public Metric.Builder clearMetricType()
required .alluxio.grpc.MetricType metricType = 6;
public int getTagsCount()
MetricOrBuilder
map<string, string> tags = 7;
getTagsCount
in interface MetricOrBuilder
public boolean containsTags(String key)
map<string, string> tags = 7;
containsTags
in interface MetricOrBuilder
@Deprecated public Map<String,String> getTags()
getTagsMap()
instead.getTags
in interface MetricOrBuilder
public Map<String,String> getTagsMap()
map<string, string> tags = 7;
getTagsMap
in interface MetricOrBuilder
public String getTagsOrDefault(String key, String defaultValue)
map<string, string> tags = 7;
getTagsOrDefault
in interface MetricOrBuilder
public String getTagsOrThrow(String key)
map<string, string> tags = 7;
getTagsOrThrow
in interface MetricOrBuilder
public Metric.Builder clearTags()
public Metric.Builder removeTags(String key)
map<string, string> tags = 7;
@Deprecated public Map<String,String> getMutableTags()
public Metric.Builder putTags(String key, String value)
map<string, string> tags = 7;
public Metric.Builder putAllTags(Map<String,String> values)
map<string, string> tags = 7;
public final Metric.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
public final Metric.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
Copyright © 2023. All Rights Reserved.