JobDef.Builder

genel statik son sınıf JobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
Protobuf türü tensorflow.JobDef

Genel Yöntemler

JobDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
İş Tanımı
İş Tanımı
JobDef.Builder
JobDef.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı)
JobDef.Builder
clearName ()
 The name of this job.
JobDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobDef.Builder
JobDef.Builder
klon ()
boolean
içerirGörevler (int anahtarı)
 Mapping from task ID to "hostname:port" string.
İş Tanımı
final statik com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Harita<Tamsayı, Dize>
getMutableTasks ()
Bunun yerine alternatif mutasyon erişimcilerini kullanın.
Sicim
getName ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
Harita<Tamsayı, Dize>
getTasks ()
Bunun yerine getTasksMap() kullanın.
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Harita<Tamsayı, Dize>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Sicim
getTasksOrDefault (int anahtarı, String defaultValue)
 Mapping from task ID to "hostname:port" string.
Sicim
getTasksOrThrow (int anahtarı)
 Mapping from task ID to "hostname:port" string.
son boole değeri
JobDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef.Builder
mergeFrom (com.google.protobuf.Message other)
son JobDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
JobDef.Builder
putAllTasks (Map<Integer, String> değerleri)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (int anahtarı, Dize değeri)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
RemoveTasks (int anahtarı)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
JobDef.Builder
setName (Dize değeri)
 The name of this job.
JobDef.Builder
setNameBytes (com.google.protobuf.ByteString değeri)
 The name of this job.
JobDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
son JobDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields)

Kalıtsal Yöntemler

Genel Yöntemler

public JobDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)

genel JobDef yapısı ()

genel JobDef buildPartial ()

genel JobDef.Builder temizle ()

herkese açık JobDef.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı)

public JobDef.Builder clearName ()

 The name of this job.
 
string name = 1;

herkese açık JobDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

genel JobDef.Builder clearTasks ()

genel JobDef.Builder klonu ()

genel boolean içerirGörevler (int anahtarı)

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

genel Harita<Tamsayı, Dizge> getMutableTasks ()

Bunun yerine alternatif mutasyon erişimcilerini kullanın.

genel Dize getName ()

 The name of this job.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

genel Harita<Tamsayı, Dize> getTasks ()

Bunun yerine getTasksMap() kullanın.

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;

genel Harita<Tamsayı, Dize> 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 anahtarı, 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 anahtarı)

 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;

genel final boolean isInitialized ()

genel JobDef.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Atar
IOİstisnası

herkese açık JobDef.Builder mergeFrom (com.google.protobuf.Message other)

genel final JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)

public JobDef.Builder putAllTasks (Map<Integer, String> değerleri)

 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 anahtarı, String değeri)

 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 anahtarı)

 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 alanı, Nesne değeri)

public JobDef.Builder setName (Dize değeri)

 The name of this job.
 
string name = 1;

public JobDef.Builder setNameBytes (com.google.protobuf.ByteString değeri)

 The name of this job.
 
string name = 1;

public JobDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)

genel final JobDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)