/*
 * 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 JobOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Job)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. The ID of the Job.
   * </pre>
   *
   * <code>string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The id.
   */
  java.lang.String getId();
  /**
   *
   *
   * <pre>
   * Output only. The ID of the Job.
   * </pre>
   *
   * <code>string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for id.
   */
  com.google.protobuf.ByteString getIdBytes();

  /**
   *
   *
   * <pre>
   * Output only. The current state of the Job.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. The current state of the Job.
   * </pre>
   *
   * <code>.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.deploy.v1.Job.State getState();

  /**
   *
   *
   * <pre>
   * Output only. Additional information on why the Job was skipped, if
   * available.
   * </pre>
   *
   * <code>string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The skipMessage.
   */
  java.lang.String getSkipMessage();
  /**
   *
   *
   * <pre>
   * Output only. Additional information on why the Job was skipped, if
   * available.
   * </pre>
   *
   * <code>string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for skipMessage.
   */
  com.google.protobuf.ByteString getSkipMessageBytes();

  /**
   *
   *
   * <pre>
   * Output only. The name of the `JobRun` responsible for the most recent
   * invocation of this Job.
   * </pre>
   *
   * <code>
   * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The jobRun.
   */
  java.lang.String getJobRun();
  /**
   *
   *
   * <pre>
   * Output only. The name of the `JobRun` responsible for the most recent
   * invocation of this Job.
   * </pre>
   *
   * <code>
   * string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for jobRun.
   */
  com.google.protobuf.ByteString getJobRunBytes();

  /**
   *
   *
   * <pre>
   * Output only. A deploy Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the deployJob field is set.
   */
  boolean hasDeployJob();
  /**
   *
   *
   * <pre>
   * Output only. A deploy Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The deployJob.
   */
  com.google.cloud.deploy.v1.DeployJob getDeployJob();
  /**
   *
   *
   * <pre>
   * Output only. A deploy Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.deploy.v1.DeployJobOrBuilder getDeployJobOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. A verify Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the verifyJob field is set.
   */
  boolean hasVerifyJob();
  /**
   *
   *
   * <pre>
   * Output only. A verify Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The verifyJob.
   */
  com.google.cloud.deploy.v1.VerifyJob getVerifyJob();
  /**
   *
   *
   * <pre>
   * Output only. A verify Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.deploy.v1.VerifyJobOrBuilder getVerifyJobOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. A createChildRollout Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createChildRolloutJob field is set.
   */
  boolean hasCreateChildRolloutJob();
  /**
   *
   *
   * <pre>
   * Output only. A createChildRollout Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createChildRolloutJob.
   */
  com.google.cloud.deploy.v1.CreateChildRolloutJob getCreateChildRolloutJob();
  /**
   *
   *
   * <pre>
   * Output only. A createChildRollout Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.deploy.v1.CreateChildRolloutJobOrBuilder getCreateChildRolloutJobOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. An advanceChildRollout Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the advanceChildRolloutJob field is set.
   */
  boolean hasAdvanceChildRolloutJob();
  /**
   *
   *
   * <pre>
   * Output only. An advanceChildRollout Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The advanceChildRolloutJob.
   */
  com.google.cloud.deploy.v1.AdvanceChildRolloutJob getAdvanceChildRolloutJob();
  /**
   *
   *
   * <pre>
   * Output only. An advanceChildRollout Job.
   * </pre>
   *
   * <code>
   * .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.deploy.v1.AdvanceChildRolloutJobOrBuilder getAdvanceChildRolloutJobOrBuilder();

  public com.google.cloud.deploy.v1.Job.JobTypeCase getJobTypeCase();
}
