общедоступный интерфейс JobDefOrBuilder
Известные косвенные подклассы |
Публичные методы
абстрактное логическое значение | содержит задачи (ключ 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;
общедоступная абстрактная Map<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;