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

      • getMetric

        String getMetric()
         Required. The name of the metric.
        
         If the metric is not known by the service yet, it will be auto-created.
         
        string metric = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The metric.
      • getMetricBytes

        com.google.protobuf.ByteString getMetricBytes()
         Required. The name of the metric.
        
         If the metric is not known by the service yet, it will be auto-created.
         
        string metric = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for metric.
      • getValueTypeValue

        int getValueTypeValue()
         Required. The value type of the time series.
         
        .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for valueType.
      • getValueType

        com.google.api.MetricDescriptor.ValueType getValueType()
         Required. The value type of the time series.
         
        .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The valueType.
      • getMetricKindValue

        int getMetricKindValue()
         Optional. The metric kind of the time series.
        
         If present, it must be the same as the metric kind of the associated
         metric. If the associated metric's descriptor must be auto-created, then
         this field specifies the metric kind of the new descriptor and must be
         either `GAUGE` (the default) or `CUMULATIVE`.
         
        .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The enum numeric value on the wire for metricKind.
      • getMetricKind

        com.google.api.MetricDescriptor.MetricKind getMetricKind()
         Optional. The metric kind of the time series.
        
         If present, it must be the same as the metric kind of the associated
         metric. If the associated metric's descriptor must be auto-created, then
         this field specifies the metric kind of the new descriptor and must be
         either `GAUGE` (the default) or `CUMULATIVE`.
         
        .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The metricKind.
      • getPointsList

        List<Point> getPointsList()
         Required. The data points of this time series. When listing time series,
         points are returned in reverse time order.
        
         When creating a time series, this field must contain exactly one point and
         the point's type must be the same as the value type of the associated
         metric. If the associated metric's descriptor must be auto-created, then
         the value type of the descriptor is determined by the point's type, which
         must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
         
        repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
      • getPoints

        Point getPoints​(int index)
         Required. The data points of this time series. When listing time series,
         points are returned in reverse time order.
        
         When creating a time series, this field must contain exactly one point and
         the point's type must be the same as the value type of the associated
         metric. If the associated metric's descriptor must be auto-created, then
         the value type of the descriptor is determined by the point's type, which
         must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
         
        repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
      • getPointsCount

        int getPointsCount()
         Required. The data points of this time series. When listing time series,
         points are returned in reverse time order.
        
         When creating a time series, this field must contain exactly one point and
         the point's type must be the same as the value type of the associated
         metric. If the associated metric's descriptor must be auto-created, then
         the value type of the descriptor is determined by the point's type, which
         must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
         
        repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
      • getPointsOrBuilderList

        List<? extends PointOrBuilder> getPointsOrBuilderList()
         Required. The data points of this time series. When listing time series,
         points are returned in reverse time order.
        
         When creating a time series, this field must contain exactly one point and
         the point's type must be the same as the value type of the associated
         metric. If the associated metric's descriptor must be auto-created, then
         the value type of the descriptor is determined by the point's type, which
         must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
         
        repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
      • getPointsOrBuilder

        PointOrBuilder getPointsOrBuilder​(int index)
         Required. The data points of this time series. When listing time series,
         points are returned in reverse time order.
        
         When creating a time series, this field must contain exactly one point and
         the point's type must be the same as the value type of the associated
         metric. If the associated metric's descriptor must be auto-created, then
         the value type of the descriptor is determined by the point's type, which
         must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
         
        repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];