public static final class MetricValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetricValue.Builder> implements MetricValueOrBuilder
This type is used as a union, only one of doubleValue or longValue should be setProtobuf type
alluxio.grpc.meta.MetricValue
Modifier and Type | Method and Description |
---|---|
MetricValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetricValue |
build() |
MetricValue |
buildPartial() |
MetricValue.Builder |
clear() |
MetricValue.Builder |
clearDoubleValue()
optional double doubleValue = 1; |
MetricValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MetricValue.Builder |
clearLongValue()
optional int64 longValue = 2; |
MetricValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MetricValue.Builder |
clone() |
MetricValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDoubleValue()
optional double doubleValue = 1; |
long |
getLongValue()
optional int64 longValue = 2; |
boolean |
hasDoubleValue()
optional double doubleValue = 1; |
boolean |
hasLongValue()
optional int64 longValue = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MetricValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetricValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
MetricValue.Builder |
mergeFrom(MetricValue other) |
MetricValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MetricValue.Builder |
setDoubleValue(double value)
optional double doubleValue = 1; |
MetricValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetricValue.Builder |
setLongValue(long value)
optional int64 longValue = 2; |
MetricValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MetricValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricValue.Builder>
public MetricValue.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<MetricValue.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<MetricValue.Builder>
public MetricValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MetricValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MetricValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MetricValue.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<MetricValue.Builder>
public MetricValue.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<MetricValue.Builder>
public MetricValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricValue.Builder>
public MetricValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricValue.Builder>
public MetricValue.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<MetricValue.Builder>
public MetricValue.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<MetricValue.Builder>
public MetricValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MetricValue.Builder>
public MetricValue.Builder mergeFrom(MetricValue other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricValue.Builder>
public MetricValue.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<MetricValue.Builder>
IOException
public boolean hasDoubleValue()
optional double doubleValue = 1;
hasDoubleValue
in interface MetricValueOrBuilder
public double getDoubleValue()
optional double doubleValue = 1;
getDoubleValue
in interface MetricValueOrBuilder
public MetricValue.Builder setDoubleValue(double value)
optional double doubleValue = 1;
public MetricValue.Builder clearDoubleValue()
optional double doubleValue = 1;
public boolean hasLongValue()
optional int64 longValue = 2;
hasLongValue
in interface MetricValueOrBuilder
public long getLongValue()
optional int64 longValue = 2;
getLongValue
in interface MetricValueOrBuilder
public MetricValue.Builder setLongValue(long value)
optional int64 longValue = 2;
public MetricValue.Builder clearLongValue()
optional int64 longValue = 2;
public final MetricValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricValue.Builder>
public final MetricValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricValue.Builder>
Copyright © 2023. All Rights Reserved.