/*
 * 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/cloud/vmmigration/v1/vmmigration.proto

package com.google.cloud.vmmigration.v1;

public interface ReplicationCycleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ReplicationCycle)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The identifier of the ReplicationCycle.
   * </pre>
   *
   * <code>string name = 13;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * The identifier of the ReplicationCycle.
   * </pre>
   *
   * <code>string name = 13;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * The cycle's ordinal number.
   * </pre>
   *
   * <code>int32 cycle_number = 10;</code>
   *
   * @return The cycleNumber.
   */
  int getCycleNumber();

  /**
   *
   *
   * <pre>
   * The time the replication cycle has started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp start_time = 1;</code>
   *
   * @return Whether the startTime field is set.
   */
  boolean hasStartTime();
  /**
   *
   *
   * <pre>
   * The time the replication cycle has started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp start_time = 1;</code>
   *
   * @return The startTime.
   */
  com.google.protobuf.Timestamp getStartTime();
  /**
   *
   *
   * <pre>
   * The time the replication cycle has started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp start_time = 1;</code>
   */
  com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * The time the replication cycle has ended.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp end_time = 6;</code>
   *
   * @return Whether the endTime field is set.
   */
  boolean hasEndTime();
  /**
   *
   *
   * <pre>
   * The time the replication cycle has ended.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp end_time = 6;</code>
   *
   * @return The endTime.
   */
  com.google.protobuf.Timestamp getEndTime();
  /**
   *
   *
   * <pre>
   * The time the replication cycle has ended.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp end_time = 6;</code>
   */
  com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * The accumulated duration the replication cycle was paused.
   * </pre>
   *
   * <code>.google.protobuf.Duration total_pause_duration = 7;</code>
   *
   * @return Whether the totalPauseDuration field is set.
   */
  boolean hasTotalPauseDuration();
  /**
   *
   *
   * <pre>
   * The accumulated duration the replication cycle was paused.
   * </pre>
   *
   * <code>.google.protobuf.Duration total_pause_duration = 7;</code>
   *
   * @return The totalPauseDuration.
   */
  com.google.protobuf.Duration getTotalPauseDuration();
  /**
   *
   *
   * <pre>
   * The accumulated duration the replication cycle was paused.
   * </pre>
   *
   * <code>.google.protobuf.Duration total_pause_duration = 7;</code>
   */
  com.google.protobuf.DurationOrBuilder getTotalPauseDurationOrBuilder();

  /**
   *
   *
   * <pre>
   * The current progress in percentage of this cycle.
   * Was replaced by 'steps' field, which breaks down the cycle progression more
   * accurately.
   * </pre>
   *
   * <code>int32 progress_percent = 5 [deprecated = true];</code>
   *
   * @deprecated google.cloud.vmmigration.v1.ReplicationCycle.progress_percent is deprecated. See
   *     google/cloud/vmmigration/v1/vmmigration.proto;l=715
   * @return The progressPercent.
   */
  @java.lang.Deprecated
  int getProgressPercent();

  /**
   *
   *
   * <pre>
   * The cycle's steps list representing its progress.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;</code>
   */
  java.util.List<com.google.cloud.vmmigration.v1.CycleStep> getStepsList();
  /**
   *
   *
   * <pre>
   * The cycle's steps list representing its progress.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;</code>
   */
  com.google.cloud.vmmigration.v1.CycleStep getSteps(int index);
  /**
   *
   *
   * <pre>
   * The cycle's steps list representing its progress.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;</code>
   */
  int getStepsCount();
  /**
   *
   *
   * <pre>
   * The cycle's steps list representing its progress.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;</code>
   */
  java.util.List<? extends com.google.cloud.vmmigration.v1.CycleStepOrBuilder>
      getStepsOrBuilderList();
  /**
   *
   *
   * <pre>
   * The cycle's steps list representing its progress.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.CycleStep steps = 9;</code>
   */
  com.google.cloud.vmmigration.v1.CycleStepOrBuilder getStepsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * State of the ReplicationCycle.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;</code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * State of the ReplicationCycle.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.ReplicationCycle.State state = 11;</code>
   *
   * @return The state.
   */
  com.google.cloud.vmmigration.v1.ReplicationCycle.State getState();

  /**
   *
   *
   * <pre>
   * Provides details on the state of the cycle in case of an error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 12;</code>
   *
   * @return Whether the error field is set.
   */
  boolean hasError();
  /**
   *
   *
   * <pre>
   * Provides details on the state of the cycle in case of an error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 12;</code>
   *
   * @return The error.
   */
  com.google.rpc.Status getError();
  /**
   *
   *
   * <pre>
   * Provides details on the state of the cycle in case of an error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 12;</code>
   */
  com.google.rpc.StatusOrBuilder getErrorOrBuilder();
}
