public static final class TimeSeriesData.Builder extends GeneratedMessageV3.Builder<TimeSeriesData.Builder> implements TimeSeriesDataOrBuilder
Represents the values of a time series associated with a
TimeSeriesDescriptor.
Protobuf type google.monitoring.v3.TimeSeriesData
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllLabelValues(Iterable<? extends LabelValue> values)
public TimeSeriesData.Builder addAllLabelValues(Iterable<? extends LabelValue> values)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.LabelValue>
|
Returns
addAllPointData(Iterable<? extends TimeSeriesData.PointData> values)
public TimeSeriesData.Builder addAllPointData(Iterable<? extends TimeSeriesData.PointData> values)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.TimeSeriesData.PointData>
|
Returns
addLabelValues(LabelValue value)
public TimeSeriesData.Builder addLabelValues(LabelValue value)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Returns
addLabelValues(LabelValue.Builder builderForValue)
public TimeSeriesData.Builder addLabelValues(LabelValue.Builder builderForValue)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Returns
addLabelValues(int index, LabelValue value)
public TimeSeriesData.Builder addLabelValues(int index, LabelValue value)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameters
Returns
addLabelValues(int index, LabelValue.Builder builderForValue)
public TimeSeriesData.Builder addLabelValues(int index, LabelValue.Builder builderForValue)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameters
Returns
addLabelValuesBuilder()
public LabelValue.Builder addLabelValuesBuilder()
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Returns
addLabelValuesBuilder(int index)
public LabelValue.Builder addLabelValuesBuilder(int index)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Returns
addPointData(TimeSeriesData.PointData value)
public TimeSeriesData.Builder addPointData(TimeSeriesData.PointData value)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Returns
addPointData(TimeSeriesData.PointData.Builder builderForValue)
public TimeSeriesData.Builder addPointData(TimeSeriesData.PointData.Builder builderForValue)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Returns
addPointData(int index, TimeSeriesData.PointData value)
public TimeSeriesData.Builder addPointData(int index, TimeSeriesData.PointData value)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameters
Returns
addPointData(int index, TimeSeriesData.PointData.Builder builderForValue)
public TimeSeriesData.Builder addPointData(int index, TimeSeriesData.PointData.Builder builderForValue)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameters
Returns
addPointDataBuilder()
public TimeSeriesData.PointData.Builder addPointDataBuilder()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
addPointDataBuilder(int index)
public TimeSeriesData.PointData.Builder addPointDataBuilder(int index)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimeSeriesData build()
Returns
buildPartial()
public TimeSeriesData buildPartial()
Returns
clear()
public TimeSeriesData.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLabelValues()
public TimeSeriesData.Builder clearLabelValues()
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPointData()
public TimeSeriesData.Builder clearPointData()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
clone()
public TimeSeriesData.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimeSeriesData getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLabelValues(int index)
public LabelValue getLabelValues(int index)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Returns
getLabelValuesBuilder(int index)
public LabelValue.Builder getLabelValuesBuilder(int index)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Returns
getLabelValuesBuilderList()
public List<LabelValue.Builder> getLabelValuesBuilderList()
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Returns
getLabelValuesCount()
public int getLabelValuesCount()
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Returns
getLabelValuesList()
public List<LabelValue> getLabelValuesList()
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Returns
getLabelValuesOrBuilder(int index)
public LabelValueOrBuilder getLabelValuesOrBuilder(int index)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Returns
getLabelValuesOrBuilderList()
public List<? extends LabelValueOrBuilder> getLabelValuesOrBuilderList()
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Returns
Type | Description |
List<? extends com.google.monitoring.v3.LabelValueOrBuilder> | |
getPointData(int index)
public TimeSeriesData.PointData getPointData(int index)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Returns
getPointDataBuilder(int index)
public TimeSeriesData.PointData.Builder getPointDataBuilder(int index)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Returns
getPointDataBuilderList()
public List<TimeSeriesData.PointData.Builder> getPointDataBuilderList()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
getPointDataCount()
public int getPointDataCount()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
getPointDataList()
public List<TimeSeriesData.PointData> getPointDataList()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
getPointDataOrBuilder(int index)
public TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder(int index)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Returns
getPointDataOrBuilderList()
public List<? extends TimeSeriesData.PointDataOrBuilder> getPointDataOrBuilderList()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
Type | Description |
List<? extends com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TimeSeriesData other)
public TimeSeriesData.Builder mergeFrom(TimeSeriesData other)
Parameter
Returns
public TimeSeriesData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimeSeriesData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeLabelValues(int index)
public TimeSeriesData.Builder removeLabelValues(int index)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameter
Returns
removePointData(int index)
public TimeSeriesData.Builder removePointData(int index)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLabelValues(int index, LabelValue value)
public TimeSeriesData.Builder setLabelValues(int index, LabelValue value)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameters
Returns
setLabelValues(int index, LabelValue.Builder builderForValue)
public TimeSeriesData.Builder setLabelValues(int index, LabelValue.Builder builderForValue)
The values of the labels in the time series identifier, given in the same
order as the label_descriptors
field of the TimeSeriesDescriptor
associated with this object. Each value must have a value of the type
given in the corresponding entry of label_descriptors
.
repeated .google.monitoring.v3.LabelValue label_values = 1;
Parameters
Returns
setPointData(int index, TimeSeriesData.PointData value)
public TimeSeriesData.Builder setPointData(int index, TimeSeriesData.PointData value)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameters
Returns
setPointData(int index, TimeSeriesData.PointData.Builder builderForValue)
public TimeSeriesData.Builder setPointData(int index, TimeSeriesData.PointData.Builder builderForValue)
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides