/*
 * 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/run/v2/job.proto

package com.google.cloud.run.v2;

public interface UpdateJobRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.UpdateJobRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. The Job to be updated.
   * </pre>
   *
   * <code>.google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return Whether the job field is set.
   */
  boolean hasJob();
  /**
   *
   *
   * <pre>
   * Required. The Job to be updated.
   * </pre>
   *
   * <code>.google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The job.
   */
  com.google.cloud.run.v2.Job getJob();
  /**
   *
   *
   * <pre>
   * Required. The Job to be updated.
   * </pre>
   *
   * <code>.google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   */
  com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder();

  /**
   *
   *
   * <pre>
   * Indicates that the request should be validated and default values
   * populated, without persisting the request or updating any resources.
   * </pre>
   *
   * <code>bool validate_only = 3;</code>
   *
   * @return The validateOnly.
   */
  boolean getValidateOnly();

  /**
   *
   *
   * <pre>
   * If set to true, and if the Job does not exist, it will create a new
   * one. Caller must have both create and update permissions for this call if
   * this is set to true.
   * </pre>
   *
   * <code>bool allow_missing = 4;</code>
   *
   * @return The allowMissing.
   */
  boolean getAllowMissing();
}
