interfaz pública JobDefOrBuilder
Subclases indirectas conocidas |
Métodos públicos
booleano abstracto | containsTasks (clave int) Mapping from task ID to "hostname:port" string. |
cadena abstracta | getName () The name of this job. |
resumen com.google.protobuf.ByteString | getNameBytes () The name of this job. |
Mapa abstracto <Entero, Cadena> | getTasks () Utilice getTasksMap() lugar. |
int abstracto | getTasksCount () Mapping from task ID to "hostname:port" string. |
Mapa abstracto <Entero, Cadena> | getTasksMap () Mapping from task ID to "hostname:port" string. |
cadena abstracta | getTasksOrDefault (clave int, String defaultValue) Mapping from task ID to "hostname:port" string. |
cadena abstracta | getTasksOrThrow (clave int) Mapping from task ID to "hostname:port" string. |
Métodos públicos
public abstract boolean containsTasks (clave 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;
público abstracto String getName ()
The name of this job.
string name = 1;
resumen público com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
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;
Mapa abstracto 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 abstracto String getTasksOrDefault (clave 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;
Cadena abstracta pública getTasksOrThrow (clave 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;