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 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;