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
Modifier and Type | Field and Description |
---|---|
static int |
HOSTNAME_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static int |
INSTANCEID_FIELD_NUMBER |
static int |
METRICTYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Metric> |
PARSER
Deprecated.
|
static int |
TAGS_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsTags(String key)
map<string, string> tags = 7; |
boolean |
equals(Object obj) |
static Metric |
getDefaultInstance() |
Metric |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
String |
getName()
optional string name = 4; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 4; |
com.google.protobuf.Parser<Metric> |
getParserForType() |
int |
getSerializedSize() |
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; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
double |
getValue()
optional double value = 5; |
int |
hashCode() |
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) |
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) |
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, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, 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 HOSTNAME_FIELD_NUMBER
public static final int INSTANCEID_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
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 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 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 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 boolean hasValue()
optional double value = 5;
hasValue
in interface MetricOrBuilder
public double getValue()
optional double value = 5;
getValue
in interface MetricOrBuilder
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 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 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.