public static final class TimeSeriesDescriptor.ValueDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder> implements TimeSeriesDescriptor.ValueDescriptorOrBuilder
A descriptor for the value columns in a data point.Protobuf type
google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor| Modifier and Type | Method and Description |
|---|---|
TimeSeriesDescriptor.ValueDescriptor.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeriesDescriptor.ValueDescriptor |
build() |
TimeSeriesDescriptor.ValueDescriptor |
buildPartial() |
TimeSeriesDescriptor.ValueDescriptor.Builder |
clear() |
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearKey()
The value key.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearMetricKind()
The value stream kind.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearUnit()
The unit in which `time_series` point values are reported.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearValueType()
The value type.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
clone() |
TimeSeriesDescriptor.ValueDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
The value key.
|
com.google.protobuf.ByteString |
getKeyBytes()
The value key.
|
com.google.api.MetricDescriptor.MetricKind |
getMetricKind()
The value stream kind.
|
int |
getMetricKindValue()
The value stream kind.
|
String |
getUnit()
The unit in which `time_series` point values are reported.
|
com.google.protobuf.ByteString |
getUnitBytes()
The unit in which `time_series` point values are reported.
|
com.google.api.MetricDescriptor.ValueType |
getValueType()
The value type.
|
int |
getValueTypeValue()
The value type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeSeriesDescriptor.ValueDescriptor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
mergeFrom(TimeSeriesDescriptor.ValueDescriptor other) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setKey(String value)
The value key.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
The value key.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
setMetricKind(com.google.api.MetricDescriptor.MetricKind value)
The value stream kind.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
setMetricKindValue(int value)
The value stream kind.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setUnit(String value)
The unit in which `time_series` point values are reported.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
setUnitBytes(com.google.protobuf.ByteString value)
The unit in which `time_series` point values are reported.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setValueType(com.google.api.MetricDescriptor.ValueType value)
The value type.
|
TimeSeriesDescriptor.ValueDescriptor.Builder |
setValueTypeValue(int value)
The value type.
|
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<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.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<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TimeSeriesDescriptor.ValueDescriptor build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TimeSeriesDescriptor.ValueDescriptor buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TimeSeriesDescriptor.ValueDescriptor.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.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<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.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<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.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<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.Builder mergeFrom(TimeSeriesDescriptor.ValueDescriptor other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder>public TimeSeriesDescriptor.ValueDescriptor.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<TimeSeriesDescriptor.ValueDescriptor.Builder>IOExceptionpublic String getKey()
The value key.
string key = 1;getKey in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
The value key.
string key = 1;getKeyBytes in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic TimeSeriesDescriptor.ValueDescriptor.Builder setKey(String value)
The value key.
string key = 1;value - The key to set.public TimeSeriesDescriptor.ValueDescriptor.Builder clearKey()
The value key.
string key = 1;public TimeSeriesDescriptor.ValueDescriptor.Builder setKeyBytes(com.google.protobuf.ByteString value)
The value key.
string key = 1;value - The bytes for key to set.public int getValueTypeValue()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;getValueTypeValue in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic TimeSeriesDescriptor.ValueDescriptor.Builder setValueTypeValue(int value)
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;value - The enum numeric value on the wire for valueType to set.public com.google.api.MetricDescriptor.ValueType getValueType()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;getValueType in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic TimeSeriesDescriptor.ValueDescriptor.Builder setValueType(com.google.api.MetricDescriptor.ValueType value)
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;value - The valueType to set.public TimeSeriesDescriptor.ValueDescriptor.Builder clearValueType()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;public int getMetricKindValue()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;getMetricKindValue in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic TimeSeriesDescriptor.ValueDescriptor.Builder setMetricKindValue(int value)
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;value - The enum numeric value on the wire for metricKind to set.public com.google.api.MetricDescriptor.MetricKind getMetricKind()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;getMetricKind in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic TimeSeriesDescriptor.ValueDescriptor.Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value)
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;value - The metricKind to set.public TimeSeriesDescriptor.ValueDescriptor.Builder clearMetricKind()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;public String getUnit()
The unit in which `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
string unit = 4;getUnit in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic com.google.protobuf.ByteString getUnitBytes()
The unit in which `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
string unit = 4;getUnitBytes in interface TimeSeriesDescriptor.ValueDescriptorOrBuilderpublic TimeSeriesDescriptor.ValueDescriptor.Builder setUnit(String value)
The unit in which `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
string unit = 4;value - The unit to set.public TimeSeriesDescriptor.ValueDescriptor.Builder clearUnit()
The unit in which `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
string unit = 4;public TimeSeriesDescriptor.ValueDescriptor.Builder setUnitBytes(com.google.protobuf.ByteString value)
The unit in which `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
string unit = 4;value - The bytes for unit to set.public final TimeSeriesDescriptor.ValueDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder>public final TimeSeriesDescriptor.ValueDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesDescriptor.ValueDescriptor.Builder>Copyright © 2025 Google LLC. All rights reserved.