/*
 * 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/dialogflow/cx/v3beta1/experiment.proto

package com.google.cloud.dialogflow.cx.v3beta1;

public interface RolloutConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.RolloutConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Steps to roll out a flow version. Steps should be sorted by percentage in
   * ascending order.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
   * </code>
   */
  java.util.List<com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep>
      getRolloutStepsList();
  /**
   *
   *
   * <pre>
   * Steps to roll out a flow version. Steps should be sorted by percentage in
   * ascending order.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
   * </code>
   */
  com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep getRolloutSteps(int index);
  /**
   *
   *
   * <pre>
   * Steps to roll out a flow version. Steps should be sorted by percentage in
   * ascending order.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
   * </code>
   */
  int getRolloutStepsCount();
  /**
   *
   *
   * <pre>
   * Steps to roll out a flow version. Steps should be sorted by percentage in
   * ascending order.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
   * </code>
   */
  java.util.List<
          ? extends com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStepOrBuilder>
      getRolloutStepsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Steps to roll out a flow version. Steps should be sorted by percentage in
   * ascending order.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
   * </code>
   */
  com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStepOrBuilder
      getRolloutStepsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * The conditions that are used to evaluate the success of a rollout
   * step. If not specified, all rollout steps will proceed to the next one
   * unless failure conditions are met. E.g. "containment_rate &gt; 60% AND
   * callback_rate &lt; 20%". See the [conditions
   * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
   * </pre>
   *
   * <code>string rollout_condition = 2;</code>
   *
   * @return The rolloutCondition.
   */
  java.lang.String getRolloutCondition();
  /**
   *
   *
   * <pre>
   * The conditions that are used to evaluate the success of a rollout
   * step. If not specified, all rollout steps will proceed to the next one
   * unless failure conditions are met. E.g. "containment_rate &gt; 60% AND
   * callback_rate &lt; 20%". See the [conditions
   * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
   * </pre>
   *
   * <code>string rollout_condition = 2;</code>
   *
   * @return The bytes for rolloutCondition.
   */
  com.google.protobuf.ByteString getRolloutConditionBytes();

  /**
   *
   *
   * <pre>
   * The conditions that are used to evaluate the failure of a rollout
   * step. If not specified, no rollout steps will fail. E.g. "containment_rate
   * &lt; 10% OR average_turn_count &lt; 3". See the [conditions
   * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
   * </pre>
   *
   * <code>string failure_condition = 3;</code>
   *
   * @return The failureCondition.
   */
  java.lang.String getFailureCondition();
  /**
   *
   *
   * <pre>
   * The conditions that are used to evaluate the failure of a rollout
   * step. If not specified, no rollout steps will fail. E.g. "containment_rate
   * &lt; 10% OR average_turn_count &lt; 3". See the [conditions
   * reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
   * </pre>
   *
   * <code>string failure_condition = 3;</code>
   *
   * @return The bytes for failureCondition.
   */
  com.google.protobuf.ByteString getFailureConditionBytes();
}
