الواجهة العامة JobDefOrBuilder
| الفئات الفرعية غير المباشرة المعروفة |
الأساليب العامة
| منطقية مجردة | يحتوي على المهام (مفتاح int) Mapping from task ID to "hostname:port" string. |
| سلسلة مجردة | الحصول على الاسم () The name of this job. |
| مجردة com.google.protobuf.ByteString | الحصول على اسم بايت () The name of this job. |
| خريطة مجردة <عدد صحيح، سلسلة> | الحصول على المهام () استخدم getTasksMap() بدلاً من ذلك. |
| كثافة العمليات مجردة | الحصول على المهام () Mapping from task ID to "hostname:port" string. |
| خريطة مجردة <عدد صحيح، سلسلة> | خريطة المهام () 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. |
الأساليب العامة
يحتوي الملخص المنطقي العام على المهام (مفتاح 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; سلسلة 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;