public static final class TimeSeries.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder> implements TimeSeriesOrBuilder
A collection of data points that describes the time-varying values of a metric.Protobuf type
opencensus.proto.metrics.v1.TimeSeries| Modifier and Type | Method and Description |
|---|---|
TimeSeries.Builder |
addAllLabelValues(Iterable<? extends LabelValue> values)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
addAllPoints(Iterable<? extends Point> values)
The data points of this timeseries.
|
TimeSeries.Builder |
addLabelValues(int index,
LabelValue.Builder builderForValue)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
addLabelValues(int index,
LabelValue value)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
addLabelValues(LabelValue.Builder builderForValue)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
addLabelValues(LabelValue value)
The set of label values that uniquely identify this timeseries.
|
LabelValue.Builder |
addLabelValuesBuilder()
The set of label values that uniquely identify this timeseries.
|
LabelValue.Builder |
addLabelValuesBuilder(int index)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
addPoints(int index,
Point.Builder builderForValue)
The data points of this timeseries.
|
TimeSeries.Builder |
addPoints(int index,
Point value)
The data points of this timeseries.
|
TimeSeries.Builder |
addPoints(Point.Builder builderForValue)
The data points of this timeseries.
|
TimeSeries.Builder |
addPoints(Point value)
The data points of this timeseries.
|
Point.Builder |
addPointsBuilder()
The data points of this timeseries.
|
Point.Builder |
addPointsBuilder(int index)
The data points of this timeseries.
|
TimeSeries.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeries |
build() |
TimeSeries |
buildPartial() |
TimeSeries.Builder |
clear() |
TimeSeries.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeSeries.Builder |
clearLabelValues()
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeSeries.Builder |
clearPoints()
The data points of this timeseries.
|
TimeSeries.Builder |
clearStartTimestamp()
Must be present for cumulative metrics.
|
TimeSeries.Builder |
clone() |
TimeSeries |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LabelValue |
getLabelValues(int index)
The set of label values that uniquely identify this timeseries.
|
LabelValue.Builder |
getLabelValuesBuilder(int index)
The set of label values that uniquely identify this timeseries.
|
List<LabelValue.Builder> |
getLabelValuesBuilderList()
The set of label values that uniquely identify this timeseries.
|
int |
getLabelValuesCount()
The set of label values that uniquely identify this timeseries.
|
List<LabelValue> |
getLabelValuesList()
The set of label values that uniquely identify this timeseries.
|
LabelValueOrBuilder |
getLabelValuesOrBuilder(int index)
The set of label values that uniquely identify this timeseries.
|
List<? extends LabelValueOrBuilder> |
getLabelValuesOrBuilderList()
The set of label values that uniquely identify this timeseries.
|
Point |
getPoints(int index)
The data points of this timeseries.
|
Point.Builder |
getPointsBuilder(int index)
The data points of this timeseries.
|
List<Point.Builder> |
getPointsBuilderList()
The data points of this timeseries.
|
int |
getPointsCount()
The data points of this timeseries.
|
List<Point> |
getPointsList()
The data points of this timeseries.
|
PointOrBuilder |
getPointsOrBuilder(int index)
The data points of this timeseries.
|
List<? extends PointOrBuilder> |
getPointsOrBuilderList()
The data points of this timeseries.
|
com.google.protobuf.Timestamp |
getStartTimestamp()
Must be present for cumulative metrics.
|
com.google.protobuf.Timestamp.Builder |
getStartTimestampBuilder()
Must be present for cumulative metrics.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimestampOrBuilder()
Must be present for cumulative metrics.
|
boolean |
hasStartTimestamp()
Must be present for cumulative metrics.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeSeries.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeSeries.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeSeries.Builder |
mergeFrom(TimeSeries other) |
TimeSeries.Builder |
mergeStartTimestamp(com.google.protobuf.Timestamp value)
Must be present for cumulative metrics.
|
TimeSeries.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeSeries.Builder |
removeLabelValues(int index)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
removePoints(int index)
The data points of this timeseries.
|
TimeSeries.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeries.Builder |
setLabelValues(int index,
LabelValue.Builder builderForValue)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
setLabelValues(int index,
LabelValue value)
The set of label values that uniquely identify this timeseries.
|
TimeSeries.Builder |
setPoints(int index,
Point.Builder builderForValue)
The data points of this timeseries.
|
TimeSeries.Builder |
setPoints(int index,
Point value)
The data points of this timeseries.
|
TimeSeries.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TimeSeries.Builder |
setStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
Must be present for cumulative metrics.
|
TimeSeries.Builder |
setStartTimestamp(com.google.protobuf.Timestamp value)
Must be present for cumulative metrics.
|
TimeSeries.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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<TimeSeries.Builder>public TimeSeries.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.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<TimeSeries.Builder>public TimeSeries getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TimeSeries build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TimeSeries buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TimeSeries.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.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<TimeSeries.Builder>public TimeSeries.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.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<TimeSeries.Builder>public TimeSeries.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<TimeSeries.Builder>public TimeSeries.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeries.Builder>public TimeSeries.Builder mergeFrom(TimeSeries other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.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<TimeSeries.Builder>IOExceptionpublic boolean hasStartTimestamp()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;hasStartTimestamp in interface TimeSeriesOrBuilderpublic com.google.protobuf.Timestamp getStartTimestamp()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;getStartTimestamp in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setStartTimestamp(com.google.protobuf.Timestamp value)
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;public TimeSeries.Builder setStartTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;public TimeSeries.Builder mergeStartTimestamp(com.google.protobuf.Timestamp value)
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;public TimeSeries.Builder clearStartTimestamp()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;public com.google.protobuf.Timestamp.Builder getStartTimestampBuilder()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;public com.google.protobuf.TimestampOrBuilder getStartTimestampOrBuilder()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;getStartTimestampOrBuilder in interface TimeSeriesOrBuilderpublic List<LabelValue> getLabelValuesList()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesList in interface TimeSeriesOrBuilderpublic int getLabelValuesCount()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesCount in interface TimeSeriesOrBuilderpublic LabelValue getLabelValues(int index)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValues in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setLabelValues(int index, LabelValue value)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder setLabelValues(int index, LabelValue.Builder builderForValue)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder addLabelValues(LabelValue value)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder addLabelValues(int index, LabelValue value)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder addLabelValues(LabelValue.Builder builderForValue)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder addLabelValues(int index, LabelValue.Builder builderForValue)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder addAllLabelValues(Iterable<? extends LabelValue> values)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder clearLabelValues()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public TimeSeries.Builder removeLabelValues(int index)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public LabelValue.Builder getLabelValuesBuilder(int index)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public LabelValueOrBuilder getLabelValuesOrBuilder(int index)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesOrBuilder in interface TimeSeriesOrBuilderpublic List<? extends LabelValueOrBuilder> getLabelValuesOrBuilderList()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesOrBuilderList in interface TimeSeriesOrBuilderpublic LabelValue.Builder addLabelValuesBuilder()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public LabelValue.Builder addLabelValuesBuilder(int index)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public List<LabelValue.Builder> getLabelValuesBuilderList()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;public List<Point> getPointsList()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsList in interface TimeSeriesOrBuilderpublic int getPointsCount()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsCount in interface TimeSeriesOrBuilderpublic Point getPoints(int index)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPoints in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setPoints(int index, Point value)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder setPoints(int index, Point.Builder builderForValue)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder addPoints(Point value)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder addPoints(int index, Point value)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder addPoints(Point.Builder builderForValue)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder addPoints(int index, Point.Builder builderForValue)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder addAllPoints(Iterable<? extends Point> values)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder clearPoints()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public TimeSeries.Builder removePoints(int index)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public Point.Builder getPointsBuilder(int index)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public PointOrBuilder getPointsOrBuilder(int index)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsOrBuilder in interface TimeSeriesOrBuilderpublic List<? extends PointOrBuilder> getPointsOrBuilderList()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsOrBuilderList in interface TimeSeriesOrBuilderpublic Point.Builder addPointsBuilder()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public Point.Builder addPointsBuilder(int index)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public List<Point.Builder> getPointsBuilderList()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;public final TimeSeries.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public final TimeSeries.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.