Class TypedValue.Builder (0.3.0)
Version 0.3.0keyboard_arrow_down
public static final class TypedValue . Builder extends GeneratedMessageV3 . Builder<TypedValue . Builder > implements TypedValueOrBuilder
TypedValue represents the value of the metric based on data type.
Protobuf type google.cloud.databasecenter.v1beta.TypedValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TypedValue . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public TypedValue build ()
buildPartial()
public TypedValue buildPartial ()
clear()
public TypedValue . Builder clear ()
Overrides
clearDoubleValue()
public TypedValue . Builder clearDoubleValue ()
The value of the metric as double.
double double_value = 1;
clearField(Descriptors.FieldDescriptor field)
public TypedValue . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearInt64Value()
public TypedValue . Builder clearInt64Value ()
The value of the metric as int.
int64 int64_value = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public TypedValue . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearValue()
public TypedValue . Builder clearValue ()
clone()
public TypedValue . Builder clone ()
Overrides
getDefaultInstanceForType()
public TypedValue getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDoubleValue()
public double getDoubleValue ()
The value of the metric as double.
double double_value = 1;
Returns
Type
Description
double
The doubleValue.
getInt64Value()
public long getInt64Value ()
The value of the metric as int.
int64 int64_value = 2;
Returns
Type
Description
long
The int64Value.
getValueCase()
public TypedValue . ValueCase getValueCase ()
hasDoubleValue()
public boolean hasDoubleValue ()
The value of the metric as double.
double double_value = 1;
Returns
Type
Description
boolean
Whether the doubleValue field is set.
hasInt64Value()
public boolean hasInt64Value ()
The value of the metric as int.
int64 int64_value = 2;
Returns
Type
Description
boolean
Whether the int64Value field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(TypedValue other)
public TypedValue . Builder mergeFrom ( TypedValue other )
public TypedValue . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TypedValue . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TypedValue . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDoubleValue(double value)
public TypedValue . Builder setDoubleValue ( double value )
The value of the metric as double.
double double_value = 1;
Parameter
Name
Description
value
double The doubleValue to set.
setField(Descriptors.FieldDescriptor field, Object value)
public TypedValue . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setInt64Value(long value)
public TypedValue . Builder setInt64Value ( long value )
The value of the metric as int.
int64 int64_value = 2;
Parameter
Name
Description
value
long The int64Value to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TypedValue . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TypedValue . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-09 UTC."],[],[]]