All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tensorflow.distruntime.JobDefOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.15.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/cluster.proto

package org.tensorflow.distruntime;

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

  /**
   * 
   * The name of this job.
   * 
* * string name = 1; */ java.lang.String getName(); /** *
   * The name of this job.
   * 
* * string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
   * Mapping from task ID to "hostname:port" string.
   * If the `name` field contains "worker", and the `tasks` map contains a
   * mapping from 7 to "example.org:2222", then the device prefix
   * "/job:worker/task:7" will be assigned to "example.org:2222".
   * 
* * map<int32, string> tasks = 2; */ int getTasksCount(); /** *
   * Mapping from task ID to "hostname:port" string.
   * If the `name` field contains "worker", and the `tasks` map contains a
   * mapping from 7 to "example.org:2222", then the device prefix
   * "/job:worker/task:7" will be assigned to "example.org:2222".
   * 
* * map<int32, string> tasks = 2; */ boolean containsTasks( int key); /** * Use {@link #getTasksMap()} instead. */ @java.lang.Deprecated java.util.Map getTasks(); /** *
   * Mapping from task ID to "hostname:port" string.
   * If the `name` field contains "worker", and the `tasks` map contains a
   * mapping from 7 to "example.org:2222", then the device prefix
   * "/job:worker/task:7" will be assigned to "example.org:2222".
   * 
* * map<int32, string> tasks = 2; */ java.util.Map getTasksMap(); /** *
   * Mapping from task ID to "hostname:port" string.
   * If the `name` field contains "worker", and the `tasks` map contains a
   * mapping from 7 to "example.org:2222", then the device prefix
   * "/job:worker/task:7" will be assigned to "example.org:2222".
   * 
* * map<int32, string> tasks = 2; */ java.lang.String getTasksOrDefault( int key, java.lang.String defaultValue); /** *
   * Mapping from task ID to "hostname:port" string.
   * If the `name` field contains "worker", and the `tasks` map contains a
   * mapping from 7 to "example.org:2222", then the device prefix
   * "/job:worker/task:7" will be assigned to "example.org:2222".
   * 
* * map<int32, string> tasks = 2; */ java.lang.String getTasksOrThrow( int key); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy