// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/device_filters.proto

package org.tensorflow.proto.distruntime;

public interface JobDeviceFiltersOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.JobDeviceFilters)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The name of this job.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  java.lang.String getName();
  /**
   * <pre>
   * The name of this job.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * <pre>
   * Mapping from task ID to task device filters.
   * </pre>
   *
   * <code>map&lt;int32, .tensorflow.TaskDeviceFilters&gt; tasks = 2;</code>
   */
  int getTasksCount();
  /**
   * <pre>
   * Mapping from task ID to task device filters.
   * </pre>
   *
   * <code>map&lt;int32, .tensorflow.TaskDeviceFilters&gt; tasks = 2;</code>
   */
  boolean containsTasks(
      int key);
  /**
   * Use {@link #getTasksMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map<java.lang.Integer, org.tensorflow.proto.distruntime.TaskDeviceFilters>
  getTasks();
  /**
   * <pre>
   * Mapping from task ID to task device filters.
   * </pre>
   *
   * <code>map&lt;int32, .tensorflow.TaskDeviceFilters&gt; tasks = 2;</code>
   */
  java.util.Map<java.lang.Integer, org.tensorflow.proto.distruntime.TaskDeviceFilters>
  getTasksMap();
  /**
   * <pre>
   * Mapping from task ID to task device filters.
   * </pre>
   *
   * <code>map&lt;int32, .tensorflow.TaskDeviceFilters&gt; tasks = 2;</code>
   */

  org.tensorflow.proto.distruntime.TaskDeviceFilters getTasksOrDefault(
      int key,
      org.tensorflow.proto.distruntime.TaskDeviceFilters defaultValue);
  /**
   * <pre>
   * Mapping from task ID to task device filters.
   * </pre>
   *
   * <code>map&lt;int32, .tensorflow.TaskDeviceFilters&gt; tasks = 2;</code>
   */

  org.tensorflow.proto.distruntime.TaskDeviceFilters getTasksOrThrow(
      int key);
}
