interfejs publiczny JobDefOrBuilder
Znane podklasy pośrednie |
Metody publiczne
abstrakcyjna wartość logiczna | zawieraZadania (klucz int) Mapping from task ID to "hostname:port" string. |
abstrakcyjny ciąg | pobierz nazwę () The name of this job. |
streszczenie com.google.protobuf.ByteString | getNameBytes () The name of this job. |
abstrakcyjna Mapa<Integer, String> | pobierzZadania () Zamiast tego użyj getTasksMap() . |
streszczenie wew | getTasksCount () Mapping from task ID to "hostname:port" string. |
abstrakcyjna Mapa<Integer, String> | getTasksMap () Mapping from task ID to "hostname:port" string. |
abstrakcyjny ciąg | getTasksOrDefault (klucz int, ciąg domyślna wartość) Mapping from task ID to "hostname:port" string. |
abstrakcyjny ciąg | getTasksOrThrow (klawisz int) Mapping from task ID to "hostname:port" string. |
Metody publiczne
publiczna wartość logiczna abstrakcyjna zawieraZadania (klucz 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;
publiczna abstrakcja String getName ()
The name of this job.
string name = 1;
publiczne streszczenie com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
publiczne streszczenie 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;
publiczna abstrakcja Mapa<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;
publiczny streszczenie String getTasksOrDefault (klucz int, ciąg domyślna wartość)
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;
publiczny ciąg abstrakcyjny getTasksOrThrow (klucz 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;