public final class MetricValue extends com.google.protobuf.GeneratedMessageV3 implements MetricValueOrBuilder
This type is used as a union, only one of doubleValue or stringValue should be setProtobuf type
alluxio.grpc.metric.MetricValue
Modifier and Type | Class and Description |
---|---|
static class |
MetricValue.Builder
This type is used as a union, only one of doubleValue or stringValue should be set
|
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 |
DOUBLEVALUE_FIELD_NUMBER |
static int |
METRICTYPE_FIELD_NUMBER |
static com.google.protobuf.Parser<MetricValue> |
PARSER
Deprecated.
|
static int |
STRINGVALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static MetricValue |
getDefaultInstance() |
MetricValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleValue()
optional double doubleValue = 1; |
MetricType |
getMetricType()
optional .alluxio.grpc.MetricType metricType = 6; |
com.google.protobuf.Parser<MetricValue> |
getParserForType() |
int |
getSerializedSize() |
String |
getStringValue()
optional string stringValue = 2; |
com.google.protobuf.ByteString |
getStringValueBytes()
optional string stringValue = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDoubleValue()
optional double doubleValue = 1; |
int |
hashCode() |
boolean |
hasMetricType()
optional .alluxio.grpc.MetricType metricType = 6; |
boolean |
hasStringValue()
optional string stringValue = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetricValue.Builder |
newBuilder() |
static MetricValue.Builder |
newBuilder(MetricValue prototype) |
MetricValue.Builder |
newBuilderForType() |
protected MetricValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MetricValue |
parseDelimitedFrom(InputStream input) |
static MetricValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricValue |
parseFrom(byte[] data) |
static MetricValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricValue |
parseFrom(ByteBuffer data) |
static MetricValue |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricValue |
parseFrom(com.google.protobuf.ByteString data) |
static MetricValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetricValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricValue |
parseFrom(InputStream input) |
static MetricValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MetricValue> |
parser() |
MetricValue.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, internalGetMapField, 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 DOUBLEVALUE_FIELD_NUMBER
public static final int STRINGVALUE_FIELD_NUMBER
public static final int METRICTYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<MetricValue> 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasDoubleValue()
optional double doubleValue = 1;
hasDoubleValue
in interface MetricValueOrBuilder
public double getDoubleValue()
optional double doubleValue = 1;
getDoubleValue
in interface MetricValueOrBuilder
public boolean hasStringValue()
optional string stringValue = 2;
hasStringValue
in interface MetricValueOrBuilder
public String getStringValue()
optional string stringValue = 2;
getStringValue
in interface MetricValueOrBuilder
public com.google.protobuf.ByteString getStringValueBytes()
optional string stringValue = 2;
getStringValueBytes
in interface MetricValueOrBuilder
public boolean hasMetricType()
optional .alluxio.grpc.MetricType metricType = 6;
hasMetricType
in interface MetricValueOrBuilder
public MetricType getMetricType()
optional .alluxio.grpc.MetricType metricType = 6;
getMetricType
in interface MetricValueOrBuilder
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 MetricValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static MetricValue parseFrom(InputStream input) throws IOException
IOException
public static MetricValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricValue parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MetricValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetricValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static MetricValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public MetricValue.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static MetricValue.Builder newBuilder()
public static MetricValue.Builder newBuilder(MetricValue prototype)
public MetricValue.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected MetricValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static MetricValue getDefaultInstance()
public static com.google.protobuf.Parser<MetricValue> parser()
public com.google.protobuf.Parser<MetricValue> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public MetricValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.