interface publique JobDefOrBuilder
Sous-classes indirectes connues |
Méthodes publiques
booléen abstrait | contient des tâches (clé int) Mapping from task ID to "hostname:port" string. |
chaîne abstraite | obtenirNom () The name of this job. |
résumé com.google.protobuf.ByteString | getNameBytes () The name of this job. |
Carte abstraite<Integer, String> | getTasks () Utilisez plutôt getTasksMap() . |
abstrait entier | getTasksCount () Mapping from task ID to "hostname:port" string. |
Carte abstraite<Integer, String> | getTasksMap () Mapping from task ID to "hostname:port" string. |
chaîne abstraite | getTasksOrDefault (clé int, chaîne valeur par défaut) Mapping from task ID to "hostname:port" string. |
chaîne abstraite | getTasksOrThrow (clé int) Mapping from task ID to "hostname:port" string. |
Méthodes publiques
public abstrait booléen containTasks (clé 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;
chaîne abstraite publique getName ()
The name of this job.
string name = 1;
résumé public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
public abstrait 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;
chaîne abstraite publique getTasksOrDefault (clé int, chaîne valeur par défaut)
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;
chaîne abstraite publique getTasksOrThrow (clé 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;