رابط عمومی JobDefOrBuilder
زیر کلاس های غیر مستقیم شناخته شده |
روش های عمومی
بولی انتزاعی | containTasks (کلید 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() استفاده کنید. |
انتزاعی | getTasksCount () Mapping from task ID to "hostname:port" string. |
نقشه انتزاعی<Integer, String> | getTasksMap () Mapping from task ID to "hostname:port" string. |
رشته انتزاعی | getTasksOrDefault (کلید int، مقدار پیشفرض رشته) 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، مقدار پیش فرض رشته)
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;