/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/dataflow/v1beta3/metrics.proto

package com.google.dataflow.v1beta3;

public interface ProgressTimeseriesOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.dataflow.v1beta3.ProgressTimeseries)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The current progress of the component, in the range [0,1].
   * </pre>
   *
   * <code>double current_progress = 1;</code>
   *
   * @return The currentProgress.
   */
  double getCurrentProgress();

  /**
   *
   *
   * <pre>
   * History of progress for the component.
   * Points are sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;</code>
   */
  java.util.List<com.google.dataflow.v1beta3.ProgressTimeseries.Point> getDataPointsList();
  /**
   *
   *
   * <pre>
   * History of progress for the component.
   * Points are sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;</code>
   */
  com.google.dataflow.v1beta3.ProgressTimeseries.Point getDataPoints(int index);
  /**
   *
   *
   * <pre>
   * History of progress for the component.
   * Points are sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;</code>
   */
  int getDataPointsCount();
  /**
   *
   *
   * <pre>
   * History of progress for the component.
   * Points are sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;</code>
   */
  java.util.List<? extends com.google.dataflow.v1beta3.ProgressTimeseries.PointOrBuilder>
      getDataPointsOrBuilderList();
  /**
   *
   *
   * <pre>
   * History of progress for the component.
   * Points are sorted by time.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ProgressTimeseries.Point data_points = 2;</code>
   */
  com.google.dataflow.v1beta3.ProgressTimeseries.PointOrBuilder getDataPointsOrBuilder(int index);
}
