JobDef.Builder

kelas akhir statis publik JobDef.Builder

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

Metode Publik

JobDef.Builder
addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
Def Pekerjaan
Def Pekerjaan
JobDef.Builder
jernih ()
JobDef.Builder
clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
JobDef.Builder
nama jelas ()
 The name of this job.
JobDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobDef.Builder
JobDef.Builder
klon ()
boolean
berisiTugas (kunci int)
 Mapping from task ID to "hostname:port" string.
Def Pekerjaan
com.google.protobuf.Descriptors.Descriptor statis terakhir
com.google.protobuf.Descriptors.Descriptor
Peta<Bilangan Bulat, String>
dapatkanMutableTasks ()
Gunakan pengakses mutasi alternatif sebagai gantinya.
Rangkaian
dapatkan Nama ()
 The name of this job.
com.google.protobuf.ByteString
dapatkanNamaBytes ()
 The name of this job.
Peta<Bilangan Bulat, String>
dapatkan Tugas ()
Gunakan getTasksMap() sebagai gantinya.
ke dalam
dapatkanTasksCount ()
 Mapping from task ID to "hostname:port" string.
Peta<Bilangan Bulat, String>
dapatkanTasksMap ()
 Mapping from task ID to "hostname:port" string.
Rangkaian
getTasksOrDefault (kunci int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
Rangkaian
getTasksOrThrow (kunci int)
 Mapping from task ID to "hostname:port" string.
boolean terakhir
JobDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef.Builder
mergeFrom (com.google.protobuf.Pesan lainnya)
JobDef.Builder terakhir
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
JobDef.Builder
putAllTasks (nilai Map<Integer, String>)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (kunci int, nilai String)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
hapusTasks (kunci int)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
JobDef.Builder
setName (Nilai string)
 The name of this job.
JobDef.Builder
setNameBytes (nilai com.google.protobuf.ByteString)
 The name of this job.
JobDef.Builder
setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
JobDef.Builder terakhir
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Metode Warisan

Metode Publik

publik JobDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

build JobDef publik ()

publik JobDef buildPartial ()

publik JobDef.Builder jelas ()

JobDef.Builder clearField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor)

publik JobDef.Builder clearName ()

 The name of this job.
 
string name = 1;

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

JobDef.Builder publik clearTasks ()

klon JobDef.Builder publik ()

boolean publik berisi Tugas (kunci 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;

JobDef publik getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()

peta publik<Bilangan Bulat, String> getMutableTasks ()

Gunakan pengakses mutasi alternatif sebagai gantinya.

GetName String publik ()

 The name of this job.
 
string name = 1;

publik com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

peta publik<Bilangan Bulat, String> getTasks ()

Gunakan getTasksMap() sebagai gantinya.

int publik 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;

peta publik<Bilangan Bulat, 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;

String publik getTasksOrDefault (kunci 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;

String publik getTasksOrThrow (kunci 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;

boolean akhir publik diinisialisasi ()

JobDef.Builder mergeFrom publik (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

publik JobDef.Builder mergeFrom (com.google.protobuf.Message lainnya)

JobDef.Builder akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

publik JobDef.Builder putAllTasks (nilai 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;

publik JobDef.Builder putTasks (kunci int, nilai 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;

publik JobDef.Builder deleteTasks (kunci 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;

publik JobDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

setName JobDef.Builder publik (Nilai string)

 The name of this job.
 
string name = 1;

publik JobDef.Builder setNameBytes (nilai com.google.protobuf.ByteString)

 The name of this job.
 
string name = 1;

JobDef.Builder setRepeatedField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)

JobDef.Builder setUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)