genel arayüz JobDefOrBuilder
Bilinen Dolaylı Alt Sınıflar |
Genel Yöntemler
soyut boole | içerirGörevler (int anahtarı) Mapping from task ID to "hostname:port" string. |
soyut Dize | getName () The name of this job. |
abstract com.google.protobuf.ByteString | getNameBytes () The name of this job. |
soyut Harita<Tamsayı, Dize> | getTasks () Bunun yerine getTasksMap() kullanın. |
soyut int | getTasksCount () Mapping from task ID to "hostname:port" string. |
soyut Harita<Tamsayı, Dize> | getTasksMap () Mapping from task ID to "hostname:port" string. |
soyut Dize | getTasksOrDefault (int anahtarı, String defaultValue) Mapping from task ID to "hostname:port" string. |
soyut Dize | getTasksOrThrow (int anahtarı) Mapping from task ID to "hostname:port" string. |
Genel Yöntemler
genel soyut boolean içerirGörevler (int anahtarı)
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;
genel özet Dize getName ()
The name of this job.
string name = 1;
genel özet com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
genel özet 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;
genel soyut Harita<Tamsayı, Dize> 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;
genel özet String getTasksOrDefault (int anahtarı, 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;
genel özet String getTasksOrThrow (int anahtarı)
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;