public final class Metric extends com.google.protobuf.GeneratedMessageV3 implements MetricOrBuilder
Information about metrics.Protobuf type
alluxio.grpc.Metric
Modifier and Type | Class and Description |
---|---|
static class |
Metric.Builder
Information about metrics.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
INSTANCE_FIELD_NUMBER |
static int |
METRICTYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Metric> |
PARSER
Deprecated.
|
static int |
SOURCE_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsTags(String key)
map<string, string> tags = 6; |
boolean |
equals(Object obj) |
static Metric |
getDefaultInstance() |
Metric |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInstance()
optional string instance = 1; |
com.google.protobuf.ByteString |
getInstanceBytes()
optional string instance = 1; |
MetricType |
getMetricType()
required .alluxio.grpc.MetricType metricType = 5; |
String |
getName()
optional string name = 3; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 3; |
com.google.protobuf.Parser<Metric> |
getParserForType() |
int |
getSerializedSize() |
String |
getSource()
optional string source = 2; |
com.google.protobuf.ByteString |
getSourceBytes()
optional string source = 2; |
Map<String,String> |
getTags()
Deprecated.
|
int |
getTagsCount()
map<string, string> tags = 6; |
Map<String,String> |
getTagsMap()
map<string, string> tags = 6; |
String |
getTagsOrDefault(String key,
String defaultValue)
map<string, string> tags = 6; |
String |
getTagsOrThrow(String key)
map<string, string> tags = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
double |
getValue()
optional double value = 4; |
int |
hashCode() |
boolean |
hasInstance()
optional string instance = 1; |
boolean |
hasMetricType()
required .alluxio.grpc.MetricType metricType = 5; |
boolean |
hasName()
optional string name = 3; |
boolean |
hasSource()
optional string source = 2; |
boolean |
hasValue()
optional double value = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Metric.Builder |
newBuilder() |
static Metric.Builder |
newBuilder(Metric prototype) |
Metric.Builder |
newBuilderForType() |
protected Metric.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Metric |
parseDelimitedFrom(InputStream input) |
static Metric |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metric |
parseFrom(byte[] data) |
static Metric |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metric |
parseFrom(ByteBuffer data) |
static Metric |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metric |
parseFrom(com.google.protobuf.ByteString data) |
static Metric |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metric |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Metric |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metric |
parseFrom(InputStream input) |
static Metric |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Metric> |
parser() |
Metric.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int INSTANCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int METRICTYPE_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Metric> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 boolean hasSource()
optional string source = 2;
hasSource
in interface MetricOrBuilder
public String getSource()
optional string source = 2;
getSource
in interface MetricOrBuilder
public com.google.protobuf.ByteString getSourceBytes()
optional string source = 2;
getSourceBytes
in interface MetricOrBuilder
public boolean hasName()
optional string name = 3;
hasName
in interface MetricOrBuilder
public String getName()
optional string name = 3;
getName
in interface MetricOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 3;
getNameBytes
in interface MetricOrBuilder
public boolean hasValue()
optional double value = 4;
hasValue
in interface MetricOrBuilder
public double getValue()
optional double value = 4;
getValue
in interface MetricOrBuilder
public boolean hasMetricType()
required .alluxio.grpc.MetricType metricType = 5;
hasMetricType
in interface MetricOrBuilder
public MetricType getMetricType()
required .alluxio.grpc.MetricType metricType = 5;
getMetricType
in interface MetricOrBuilder
public int getTagsCount()
MetricOrBuilder
map<string, string> tags = 6;
getTagsCount
in interface MetricOrBuilder
public boolean containsTags(String key)
map<string, string> tags = 6;
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 = 6;
getTagsMap
in interface MetricOrBuilder
public String getTagsOrDefault(String key, String defaultValue)
map<string, string> tags = 6;
getTagsOrDefault
in interface MetricOrBuilder
public String getTagsOrThrow(String key)
map<string, string> tags = 6;
getTagsOrThrow
in interface MetricOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Metric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metric parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metric parseFrom(InputStream input) throws IOException
IOException
public static Metric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Metric parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Metric parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Metric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Metric parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Metric.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Metric.Builder newBuilder()
public static Metric.Builder newBuilder(Metric prototype)
public Metric.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Metric.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Metric getDefaultInstance()
public static com.google.protobuf.Parser<Metric> parser()
public com.google.protobuf.Parser<Metric> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Metric getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.