antarmuka publik JobDefOrBuilder
| Subkelas Tidak Langsung yang Diketahui |
Metode Publik
| boolean abstrak | berisiTugas (kunci int) Mapping from task ID to "hostname:port" string. |
| Tali abstrak | dapatkan Nama () The name of this job. |
| abstrak com.google.protobuf.ByteString | dapatkanNamaBytes () The name of this job. |
| peta abstrak<Bilangan Bulat, String> | dapatkan Tugas () Gunakan getTasksMap() sebagai gantinya. |
| abstrak ke dalam | dapatkanTasksCount () Mapping from task ID to "hostname:port" string. |
| peta abstrak<Bilangan Bulat, String> | dapatkanTasksMap () Mapping from task ID to "hostname:port" string. |
| Tali abstrak | getTasksOrDefault (kunci int, String defaultValue) Mapping from task ID to "hostname:port" string. |
| Tali abstrak | getTasksOrThrow (kunci int) Mapping from task ID to "hostname:port" string. |
Metode Publik
boolean abstrak publik berisi Tugas (kunci 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; abstrak publik String getName ()
The name of this job.
string name = 1; abstrak publik com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1; abstrak publik 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; peta abstrak publik<Bilangan Bulat, 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 abstrak publik getTasksOrDefault (kunci 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 abstrak publik getTasksOrThrow (kunci 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;