パブリック静的最終クラスJobDef.Builder
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef
パブリックメソッド
ジョブ定義ビルダー | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
ジョブ定義 | 建てる() |
ジョブ定義 | buildPartial () |
ジョブ定義ビルダー | クリア() |
ジョブ定義ビルダー | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
ジョブ定義ビルダー | クリアネーム() The name of this job. |
ジョブ定義ビルダー | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ジョブ定義ビルダー | クリアタスク() |
ジョブ定義ビルダー | クローン() |
ブール値 | containsTasks (int キー) Mapping from task ID to "hostname:port" string. |
ジョブ定義 | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<整数、文字列> | getMutableTasks () 代わりに代替の突然変異アクセサーを使用してください。 |
弦 | getName () The name of this job. |
com.google.protobuf.ByteString | getNameBytes () The name of this job. |
Map<整数、文字列> | getTask () 代わりに getTasksMap() を使用してください。 |
整数 | getTasksCount () Mapping from task ID to "hostname:port" string. |
Map<整数、文字列> | 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. |
最終ブール値 | |
ジョブ定義ビルダー | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ジョブ定義ビルダー | mergeFrom (com.google.protobuf.Message other) |
最終的なJobDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
ジョブ定義ビルダー | putAllTasks (Map<Integer, String> 値) Mapping from task ID to "hostname:port" string. |
ジョブ定義ビルダー | putTasks (int キー、文字列値) Mapping from task ID to "hostname:port" string. |
ジョブ定義ビルダー | RemoveTasks (int キー) Mapping from task ID to "hostname:port" string. |
ジョブ定義ビルダー | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
ジョブ定義ビルダー | setName (文字列値) The name of this job. |
ジョブ定義ビルダー | setNameBytes (com.google.protobuf.ByteString 値) The name of this job. |
ジョブ定義ビルダー | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
最終的なJobDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
継承されたメソッド
パブリックメソッド
public JobDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
public 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;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map<Integer, String> getMutableTasks ()
代わりに代替の突然変異アクセサーを使用してください。
パブリック String getName ()
The name of this job.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
public 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 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 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;
public String 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;
パブリック最終ブール値isInitialized ()
public JobDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public JobDef.Builder putAllTasks (Map<Integer, String> 値)
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 JobDef.Builder putTasks (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;
public JobDef.Builder RemoveTasks (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;
public JobDef.Builder setNameBytes (com.google.protobuf.ByteString 値)
The name of this job.
string name = 1;