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. |
cadeia abstrata | getNome () The name of this job. |
abstrato com.google.protobuf.ByteString | getNomeBytes () The name of this job. |
mapa abstrato<inteiro, string> | getTasks () Use getTasksMap() em vez disso. |
abstrato int | getTasksCount () Mapping from task ID to "hostname:port" string. |
mapa abstrato<inteiro, string> | getTasksMap () Mapping from task ID to "hostname:port" string. |
cadeia abstrata | getTasksOrDefault (chave int, String defaultValue) Mapping from task ID to "hostname:port" string. |
cadeia abstrata | getTasksOrThrow (chave int) Mapping from task ID to "hostname:port" string. |
Métodos Públicos
público abstrato booleano contémTasks (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;
String abstrata pública getName ()
The name of this job.
string name = 1;
resumo público com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
público abstrato 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;
mapa abstrato público<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;
público abstrato String getTasksOrDefault (chave int, 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;
String abstrata pública getTasksOrThrow (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;