JobDefOrBuilder

パブリックインターフェイスJobDefOrBuilder
既知の間接サブクラス

パブリックメソッド

抽象ブール値
containsTasks (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.
抽象マップ<整数、文字列>
getTask ()
代わりに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.

パブリックメソッド

public abstract boolean 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;

パブリック抽象 String getName ()

 The name of this job.
 
string name = 1;

パブリック抽象 com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

public abstract Map<Integer, String> getTasks ()

代わりにgetTasksMap()を使用してください。

public abstract 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;

public abstract 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;

public abstract String 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;