/*
 * 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/batch/v1alpha/task.proto

package com.google.cloud.batch.v1alpha;

public interface TaskOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.batch.v1alpha.Task)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Task name.
   * The name is generated from the parent TaskGroup name and 'id' field.
   * For example:
   * "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Task name.
   * The name is generated from the parent TaskGroup name and 'id' field.
   * For example:
   * "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Task Status.
   * </pre>
   *
   * <code>.google.cloud.batch.v1alpha.TaskStatus status = 2;</code>
   *
   * @return Whether the status field is set.
   */
  boolean hasStatus();
  /**
   *
   *
   * <pre>
   * Task Status.
   * </pre>
   *
   * <code>.google.cloud.batch.v1alpha.TaskStatus status = 2;</code>
   *
   * @return The status.
   */
  com.google.cloud.batch.v1alpha.TaskStatus getStatus();
  /**
   *
   *
   * <pre>
   * Task Status.
   * </pre>
   *
   * <code>.google.cloud.batch.v1alpha.TaskStatus status = 2;</code>
   */
  com.google.cloud.batch.v1alpha.TaskStatusOrBuilder getStatusOrBuilder();
}
