JobDefOrBuilder

공용 인터페이스 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.
추상 맵<정수, 문자열>
getTasks ()
대신 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 (정수 키)
 Mapping from task ID to "hostname:port" string.

공개 방법

공개 추상 부울 containTasks (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;

공개 추상 Map<Integer, String> getTasks ()

대신 getTasksMap() 사용하세요.

공개 추상 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 키, 문자열 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;