ממשק ציבורי JobDefOrBuilder
תת-מחלקות עקיפות ידועות |
שיטות ציבוריות
בוליאני מופשט | containsTasks (מפתח int) Mapping from task ID to "hostname:port" string. |
מחרוזת מופשטת | getName () The name of this job. |
תקציר com.google.protobuf.ByteString | getNameBytes () The name of this job. |
מפה מופשטת<Integer, String> | getTasks () השתמש ב- getTasksMap() במקום זאת. |
מופשט int | getTasksCount () Mapping from task ID to "hostname:port" string. |
מפה מופשטת<Integer, String> | getTasksMap () Mapping from task ID to "hostname:port" string. |
מחרוזת מופשטת | getTasksOrDefault (מפתח int, String defaultValue) Mapping from task ID to "hostname:port" string. |
מחרוזת מופשטת | getTasksOrThrow (מפתח int) Mapping from task ID to "hostname:port" string. |
שיטות ציבוריות
תקציר ציבורי בוליאני מכילTasks (מפתח 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;
תקציר ציבורי מחרוזת getName ()
The name of this job.
string name = 1;
תקציר ציבורי com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
תקציר ציבורי 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;
תקציר ציבורי מפה<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;
תקציר ציבורי String getTasksOrDefault (מפתח 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;
מחרוזת תקציר ציבורי getTasksOrThrow (מפתח 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;