JobDefOrBuilder

interface pública JobDefOrBuilder
Subclasses indiretas conhecidas

Métodos Públicos

booleano abstrato
contémTasks (chave int)
 Mapping from task ID to "hostname:port" string.
String abstrata
getName ()
 The name of this job.
abstract com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
Mapa abstrato <Integer, String>
getTasks ()
Use getTasksMap() vez disso.
abstrato int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Mapa abstrato <Integer, String>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
String abstrata
getTasksOrDefault (int key, String defaultValue)
 Mapping from task ID to "hostname:port" string.
String abstrata
getTasksOrThrow (int key)
 Mapping from task ID to "hostname:port" string.

Métodos Públicos

public abstract boolean containsTasks (chave int)

 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;

public abstract String getName ()

 The name of this job.
 
string name = 1;

public abstract com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

public abstract Map <Integer, String> getTasks ()

getTasksMap() vez disso, use getTasksMap() .

public abstract 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;

public abstract Map <Integer, String> 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;

public abstract String getTasksOrDefault (int key, 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;

public abstract String getTasksOrThrow (int key)

 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;