Package io.opencensus.proto.metrics.v1
Interface TimeSeriesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeSeries,TimeSeries.Builder
public interface TimeSeriesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LabelValuegetLabelValues(int index)The set of label values that uniquely identify this timeseries.intgetLabelValuesCount()The set of label values that uniquely identify this timeseries.List<LabelValue>getLabelValuesList()The set of label values that uniquely identify this timeseries.LabelValueOrBuildergetLabelValuesOrBuilder(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.PointgetPoints(int index)The data points of this timeseries.intgetPointsCount()The data points of this timeseries.List<Point>getPointsList()The data points of this timeseries.PointOrBuildergetPointsOrBuilder(int index)The data points of this timeseries.List<? extends PointOrBuilder>getPointsOrBuilderList()The data points of this timeseries.com.google.protobuf.TimestampgetStartTimestamp()Must be present for cumulative metrics.com.google.protobuf.TimestampOrBuildergetStartTimestampOrBuilder()Must be present for cumulative metrics.booleanhasStartTimestamp()Must be present for cumulative metrics.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStartTimestamp
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;- Returns:
- Whether the startTimestamp field is set.
-
getStartTimestamp
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;- Returns:
- The startTimestamp.
-
getStartTimestampOrBuilder
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;
-
getLabelValuesList
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;
-
getLabelValues
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;
-
getLabelValuesCount
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;
-
getLabelValuesOrBuilderList
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;
-
getLabelValuesOrBuilder
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;
-
getPointsList
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;
-
getPoints
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;
-
getPointsCount
int getPointsCount()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;
-
getPointsOrBuilderList
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;
-
getPointsOrBuilder
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;
-
-