JobDef.Builder

classe finale statica pubblica JobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
Tipo di protocollo tensorflow.JobDef

Metodi pubblici

JobDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
LavoroDef
LavoroDef
JobDef.Builder
chiaro ()
JobDef.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
JobDef.Builder
nomechiaro ()
 The name of this job.
JobDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobDef.Builder
JobDef.Builder
clone ()
booleano
contieneTasks (tasto int)
 Mapping from task ID to "hostname:port" string.
LavoroDef
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
Mappa<Intero, Stringa>
getMutableTasks ()
Utilizzare invece accessori di mutazione alternativi.
Corda
getNome ()
 The name of this job.
com.google.protobuf.ByteString
getNomeBytes ()
 The name of this job.
Mappa<Intero, Stringa>
getTasks ()
Utilizzare invece getTasksMap() .
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Mappa<Intero, Stringa>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Corda
getTasksOrDefault (chiave int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
Corda
getTasksOrThrow (tasto int)
 Mapping from task ID to "hostname:port" string.
booleano finale
JobDef.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
JobDef.Builder
mergeFrom (com.google.protobuf.Message altro)
finale JobDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
JobDef.Builder
putAllTasks (valori Map<Integer, String>)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (chiave int, valore stringa)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
rimuoviTasks (tasto int)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
JobDef.Builder
setName (valore stringa)
 The name of this job.
JobDef.Builder
setNameBytes (valore com.google.protobuf.ByteString)
 The name of this job.
JobDef.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
finale JobDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

Metodi ereditati

Metodi pubblici

public JobDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

build JobDef pubblica ()

public JobDef buildPartial ()

public JobDef.Builder cancella ()

public JobDef.Builder clearField (campo 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 ()

clone pubblico JobDef.Builder ()

booleano pubblico contieneTasks (chiave 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 ()

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

public Map<Integer, String> getMutableTasks ()

Utilizzare invece accessori di mutazione alternativi.

stringa pubblica getName ()

 The name of this job.
 
string name = 1;

pubblico com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

mappa pubblica<intero, stringa> getTasks ()

Utilizzare invece 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;

mappa pubblica<intero, stringa> 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 (chiave 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 (chiave 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 final booleano isInitialized ()

public JobDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

public JobDef.Builder mergeFrom (com.google.protobuf.Message altro)

public final JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public JobDef.Builder putAllTasks (valori 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 (chiave int, valore stringa)

 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 rimuoviTasks (chiave 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public JobDef.Builder setName (valore stringa)

 The name of this job.
 
string name = 1;

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

 The name of this job.
 
string name = 1;

public JobDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

public final JobDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)