อินเทอร์เฟซสาธารณะ JobDefOrBuilder
| คลาสย่อยทางอ้อมที่รู้จัก |
วิธีการสาธารณะ
| บูลีนนามธรรม | hasTasks (คีย์ int) Mapping from task ID to "hostname:port" string. |
| สตริงที่เป็นนามธรรม | รับชื่อ () The name of this job. |
| นามธรรม com.google.protobuf.ByteString | getNameBytes () The name of this job. |
| แผนที่นามธรรม <จำนวนเต็ม สตริง> | รับงาน () ใช้ getTasksMap() แทน |
| บทคัดย่อ | getTasksCount () Mapping from task ID to "hostname:port" string. |
| แผนที่นามธรรม <จำนวนเต็ม สตริง> | getTasksMap () Mapping from task ID to "hostname:port" string. |
| สตริงที่เป็นนามธรรม | getTasksOrDefault (คีย์ int, สตริง defaultValue) Mapping from task ID to "hostname:port" string. |
| สตริงที่เป็นนามธรรม | getTasksOrThrow (คีย์ int) Mapping from task ID to "hostname:port" string. |
วิธีการสาธารณะ
บูลีนนามธรรมสาธารณะ containsTasks (คีย์ 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;