- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class TimeSeriesDescriptor.ValueDescriptor.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TimeSeriesDescriptor.ValueDescriptor.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesDescriptor.ValueDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
build()
public TimeSeriesDescriptor.ValueDescriptor build()
Type | Description |
TimeSeriesDescriptor.ValueDescriptor |
buildPartial()
public TimeSeriesDescriptor.ValueDescriptor buildPartial()
Type | Description |
TimeSeriesDescriptor.ValueDescriptor |
clear()
public TimeSeriesDescriptor.ValueDescriptor.Builder clear()
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesDescriptor.ValueDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearKey()
public TimeSeriesDescriptor.ValueDescriptor.Builder clearKey()
The value key.
string key = 1;
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
clearMetricKind()
public TimeSeriesDescriptor.ValueDescriptor.Builder clearMetricKind()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesDescriptor.ValueDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
clearUnit()
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;
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
clearValueType()
public TimeSeriesDescriptor.ValueDescriptor.Builder clearValueType()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
clone()
public TimeSeriesDescriptor.ValueDescriptor.Builder clone()
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
getDefaultInstanceForType()
public TimeSeriesDescriptor.ValueDescriptor getDefaultInstanceForType()
Type | Description |
TimeSeriesDescriptor.ValueDescriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKey()
public String getKey()
The value key.
string key = 1;
Type | Description |
String | The key. |
getKeyBytes()
public ByteString getKeyBytes()
The value key.
string key = 1;
Type | Description |
ByteString | The bytes for key. |
getMetricKind()
public MetricDescriptor.MetricKind getMetricKind()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
Type | Description |
com.google.api.MetricDescriptor.MetricKind | The metricKind. |
getMetricKindValue()
public int getMetricKindValue()
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
Type | Description |
int | The enum numeric value on the wire for metricKind. |
getUnit()
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;
Type | Description |
String | The unit. |
getUnitBytes()
public 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;
Type | Description |
ByteString | The bytes for unit. |
getValueType()
public MetricDescriptor.ValueType getValueType()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;
Type | Description |
com.google.api.MetricDescriptor.ValueType | The valueType. |
getValueTypeValue()
public int getValueTypeValue()
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;
Type | Description |
int | The enum numeric value on the wire for valueType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TimeSeriesDescriptor.ValueDescriptor other)
public TimeSeriesDescriptor.ValueDescriptor.Builder mergeFrom(TimeSeriesDescriptor.ValueDescriptor other)
Name | Description |
other | TimeSeriesDescriptor.ValueDescriptor |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSeriesDescriptor.ValueDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TimeSeriesDescriptor.ValueDescriptor.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesDescriptor.ValueDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setKey(String value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setKey(String value)
The value key.
string key = 1;
Name | Description |
value | String The key to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setKeyBytes(ByteString value)
The value key.
string key = 1;
Name | Description |
value | ByteString The bytes for key to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
setMetricKind(MetricDescriptor.MetricKind value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setMetricKind(MetricDescriptor.MetricKind value)
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
Name | Description |
value | com.google.api.MetricDescriptor.MetricKind The metricKind to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
setMetricKindValue(int value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setMetricKindValue(int value)
The value stream kind.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
Name | Description |
value | int The enum numeric value on the wire for metricKind to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setUnit(String value)
public 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;
Name | Description |
value | String The unit to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
setUnitBytes(ByteString value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setUnitBytes(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;
Name | Description |
value | ByteString The bytes for unit to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesDescriptor.ValueDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder |
setValueType(MetricDescriptor.ValueType value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setValueType(MetricDescriptor.ValueType value)
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;
Name | Description |
value | com.google.api.MetricDescriptor.ValueType The valueType to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |
setValueTypeValue(int value)
public TimeSeriesDescriptor.ValueDescriptor.Builder setValueTypeValue(int value)
The value type.
.google.api.MetricDescriptor.ValueType value_type = 2;
Name | Description |
value | int The enum numeric value on the wire for valueType to set. |
Type | Description |
TimeSeriesDescriptor.ValueDescriptor.Builder | This builder for chaining. |