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
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
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>
|
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>
|
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;
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;
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;
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;
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;
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 |
Name |
Description |
index |
int
|
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;
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;
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;
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;
addPointDataBuilder()
public TimeSeriesData.PointData.Builder addPointDataBuilder()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TimeSeriesData build()
buildPartial()
public TimeSeriesData buildPartial()
clear()
public TimeSeriesData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesData.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPointData()
public TimeSeriesData.Builder clearPointData()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
clone()
public TimeSeriesData.Builder clone()
Overrides
getDefaultInstanceForType()
public TimeSeriesData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
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 |
Type |
Description |
int |
|
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;
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getPointDataBuilderList()
public List<TimeSeriesData.PointData.Builder> getPointDataBuilderList()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
getPointDataCount()
public int getPointDataCount()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns |
Type |
Description |
int |
|
getPointDataList()
public List<TimeSeriesData.PointData> getPointDataList()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
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 |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TimeSeriesData other)
public TimeSeriesData.Builder mergeFrom(TimeSeriesData other)
public TimeSeriesData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimeSeriesData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides