public static final class TypedValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder> implements TypedValueOrBuilder
A single strongly-typed value.Protobuf type
google.monitoring.v3.TypedValue| Modifier and Type | Method and Description |
|---|---|
TypedValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TypedValue |
build() |
TypedValue |
buildPartial() |
TypedValue.Builder |
clear() |
TypedValue.Builder |
clearBoolValue()
A Boolean value: `true` or `false`.
|
TypedValue.Builder |
clearDistributionValue()
A distribution value.
|
TypedValue.Builder |
clearDoubleValue()
A 64-bit double-precision floating-point number.
|
TypedValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TypedValue.Builder |
clearInt64Value()
A 64-bit integer.
|
TypedValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TypedValue.Builder |
clearStringValue()
A variable-length string value.
|
TypedValue.Builder |
clearValue() |
TypedValue.Builder |
clone() |
boolean |
getBoolValue()
A Boolean value: `true` or `false`.
|
TypedValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.api.Distribution |
getDistributionValue()
A distribution value.
|
com.google.api.Distribution.Builder |
getDistributionValueBuilder()
A distribution value.
|
com.google.api.DistributionOrBuilder |
getDistributionValueOrBuilder()
A distribution value.
|
double |
getDoubleValue()
A 64-bit double-precision floating-point number.
|
long |
getInt64Value()
A 64-bit integer.
|
String |
getStringValue()
A variable-length string value.
|
com.google.protobuf.ByteString |
getStringValueBytes()
A variable-length string value.
|
TypedValue.ValueCase |
getValueCase() |
boolean |
hasBoolValue()
A Boolean value: `true` or `false`.
|
boolean |
hasDistributionValue()
A distribution value.
|
boolean |
hasDoubleValue()
A 64-bit double-precision floating-point number.
|
boolean |
hasInt64Value()
A 64-bit integer.
|
boolean |
hasStringValue()
A variable-length string value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TypedValue.Builder |
mergeDistributionValue(com.google.api.Distribution value)
A distribution value.
|
TypedValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TypedValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
TypedValue.Builder |
mergeFrom(TypedValue other) |
TypedValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TypedValue.Builder |
setBoolValue(boolean value)
A Boolean value: `true` or `false`.
|
TypedValue.Builder |
setDistributionValue(com.google.api.Distribution.Builder builderForValue)
A distribution value.
|
TypedValue.Builder |
setDistributionValue(com.google.api.Distribution value)
A distribution value.
|
TypedValue.Builder |
setDoubleValue(double value)
A 64-bit double-precision floating-point number.
|
TypedValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TypedValue.Builder |
setInt64Value(long value)
A 64-bit integer.
|
TypedValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TypedValue.Builder |
setStringValue(String value)
A variable-length string value.
|
TypedValue.Builder |
setStringValueBytes(com.google.protobuf.ByteString value)
A variable-length string value.
|
TypedValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TypedValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TypedValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TypedValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TypedValue.Builder>public TypedValue.Builder mergeFrom(TypedValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public TypedValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TypedValue.Builder>IOExceptionpublic TypedValue.ValueCase getValueCase()
getValueCase in interface TypedValueOrBuilderpublic TypedValue.Builder clearValue()
public boolean hasBoolValue()
A Boolean value: `true` or `false`.
bool bool_value = 1;hasBoolValue in interface TypedValueOrBuilderpublic boolean getBoolValue()
A Boolean value: `true` or `false`.
bool bool_value = 1;getBoolValue in interface TypedValueOrBuilderpublic TypedValue.Builder setBoolValue(boolean value)
A Boolean value: `true` or `false`.
bool bool_value = 1;value - The boolValue to set.public TypedValue.Builder clearBoolValue()
A Boolean value: `true` or `false`.
bool bool_value = 1;public boolean hasInt64Value()
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;hasInt64Value in interface TypedValueOrBuilderpublic long getInt64Value()
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;getInt64Value in interface TypedValueOrBuilderpublic TypedValue.Builder setInt64Value(long value)
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;value - The int64Value to set.public TypedValue.Builder clearInt64Value()
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;public boolean hasDoubleValue()
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;hasDoubleValue in interface TypedValueOrBuilderpublic double getDoubleValue()
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;getDoubleValue in interface TypedValueOrBuilderpublic TypedValue.Builder setDoubleValue(double value)
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;value - The doubleValue to set.public TypedValue.Builder clearDoubleValue()
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;public boolean hasStringValue()
A variable-length string value.
string string_value = 4;hasStringValue in interface TypedValueOrBuilderpublic String getStringValue()
A variable-length string value.
string string_value = 4;getStringValue in interface TypedValueOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
A variable-length string value.
string string_value = 4;getStringValueBytes in interface TypedValueOrBuilderpublic TypedValue.Builder setStringValue(String value)
A variable-length string value.
string string_value = 4;value - The stringValue to set.public TypedValue.Builder clearStringValue()
A variable-length string value.
string string_value = 4;public TypedValue.Builder setStringValueBytes(com.google.protobuf.ByteString value)
A variable-length string value.
string string_value = 4;value - The bytes for stringValue to set.public boolean hasDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;hasDistributionValue in interface TypedValueOrBuilderpublic com.google.api.Distribution getDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;getDistributionValue in interface TypedValueOrBuilderpublic TypedValue.Builder setDistributionValue(com.google.api.Distribution value)
A distribution value.
.google.api.Distribution distribution_value = 5;public TypedValue.Builder setDistributionValue(com.google.api.Distribution.Builder builderForValue)
A distribution value.
.google.api.Distribution distribution_value = 5;public TypedValue.Builder mergeDistributionValue(com.google.api.Distribution value)
A distribution value.
.google.api.Distribution distribution_value = 5;public TypedValue.Builder clearDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;public com.google.api.Distribution.Builder getDistributionValueBuilder()
A distribution value.
.google.api.Distribution distribution_value = 5;public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder()
A distribution value.
.google.api.Distribution distribution_value = 5;getDistributionValueOrBuilder in interface TypedValueOrBuilderpublic final TypedValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>public final TypedValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TypedValue.Builder>Copyright © 2024 Google LLC. All rights reserved.