/*
 * 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/deploy/v1/cloud_deploy.proto

package com.google.cloud.deploy.v1;

public interface CanaryOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Canary)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Optional. Runtime specific configurations for the deployment strategy. The
   * runtime configuration is used to determine how Cloud Deploy will split
   * traffic to enable a progressive deployment.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return Whether the runtimeConfig field is set.
   */
  boolean hasRuntimeConfig();
  /**
   *
   *
   * <pre>
   * Optional. Runtime specific configurations for the deployment strategy. The
   * runtime configuration is used to determine how Cloud Deploy will split
   * traffic to enable a progressive deployment.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return The runtimeConfig.
   */
  com.google.cloud.deploy.v1.RuntimeConfig getRuntimeConfig();
  /**
   *
   *
   * <pre>
   * Optional. Runtime specific configurations for the deployment strategy. The
   * runtime configuration is used to determine how Cloud Deploy will split
   * traffic to enable a progressive deployment.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.deploy.v1.RuntimeConfigOrBuilder getRuntimeConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Configures the progressive based deployment for a Target.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;</code>
   *
   * @return Whether the canaryDeployment field is set.
   */
  boolean hasCanaryDeployment();
  /**
   *
   *
   * <pre>
   * Configures the progressive based deployment for a Target.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;</code>
   *
   * @return The canaryDeployment.
   */
  com.google.cloud.deploy.v1.CanaryDeployment getCanaryDeployment();
  /**
   *
   *
   * <pre>
   * Configures the progressive based deployment for a Target.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;</code>
   */
  com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder();

  /**
   *
   *
   * <pre>
   * Configures the progressive based deployment for a Target, but allows
   * customizing at the phase level where a phase represents each of the
   * percentage deployments.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;</code>
   *
   * @return Whether the customCanaryDeployment field is set.
   */
  boolean hasCustomCanaryDeployment();
  /**
   *
   *
   * <pre>
   * Configures the progressive based deployment for a Target, but allows
   * customizing at the phase level where a phase represents each of the
   * percentage deployments.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;</code>
   *
   * @return The customCanaryDeployment.
   */
  com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployment();
  /**
   *
   *
   * <pre>
   * Configures the progressive based deployment for a Target, but allows
   * customizing at the phase level where a phase represents each of the
   * percentage deployments.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;</code>
   */
  com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder getCustomCanaryDeploymentOrBuilder();

  public com.google.cloud.deploy.v1.Canary.ModeCase getModeCase();
}
