JobDef.Builder

パブリック静的最終クラスJobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
Protobuf 型tensorflow.JobDef

パブリックメソッド

ジョブ定義ビルダー
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
ジョブ定義
建てる()
ジョブ定義
ジョブ定義ビルダー
クリア()
ジョブ定義ビルダー
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 不明フィールド)
ジョブ定義ビルダー
putAllTask​​s (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 JobDefビルド()

public JobDef buildPartial ()

public JobDef.Builder clear ()

public JobDef.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)

public JobDef.Builder ClearName ()

 The name of this job.
 
string name = 1;

public JobDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public JobDef.Builder ClearTasks ()

public JobDef.Builderクローン()

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 JobDef getDefaultInstanceForType ()

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 Map<Integer, String> getTasks ()

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

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 mergeFrom (com.google.protobuf.Message other)

public Final JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public JobDef.Builder putAllTask​​s (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 setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public JobDef.Builder setName (文字列値)

 The name of this job.
 
string name = 1;

public JobDef.Builder setNameBytes (com.google.protobuf.ByteString 値)

 The name of this job.
 
string name = 1;

public JobDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)

publicfinalJobDef.BuildersetUnknownFields (com.google.protobuf.UnknownFieldSetunknownFields )