JobDef.Builder

classe finale statique publique JobDef.Builder

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

Méthodes publiques

JobDef.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
JobDef
JobDef
JobDef.Builder
clair ()
JobDef.Builder
clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
JobDef.Builder
nom clair ()
 The name of this job.
JobDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobDef.Builder
JobDef.Builder
cloner ()
booléen
contient des tâches (clé int)
 Mapping from task ID to "hostname:port" string.
JobDef
final statique com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Carte<Integer, String>
getMutableTasks ()
Utilisez plutôt d’autres accesseurs de mutation.
Chaîne
obtenirNom ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
Carte<Integer, String>
getTasks ()
Utilisez plutôt getTasksMap() .
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Carte<Integer, String>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Chaîne
getTasksOrDefault (clé int, chaîne valeur par défaut)
 Mapping from task ID to "hostname:port" string.
Chaîne
getTasksOrThrow (clé int)
 Mapping from task ID to "hostname:port" string.
booléen final
JobDef.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef.Builder
mergeFrom (com.google.protobuf.Message autre)
JobDef.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
JobDef.Builder
putAllTasks (valeurs Map<Integer, String>)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (clé int, valeur String)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
RemoveTasks (clé int)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
JobDef.Builder
setName (valeur de chaîne)
 The name of this job.
JobDef.Builder
setNameBytes (valeur com.google.protobuf.ByteString)
 The name of this job.
JobDef.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
JobDef.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public JobDef.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public JobDef ()

public JobDef buildPartial ()

public JobDef.Builder clear ()

public JobDef.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public JobDef.Builder clearName ()

nom de chaîne

 The name of this job.
 
string name = 1;

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

public JobDef.Builder clearTasks ()

clone public de JobDef.Builder ()

public booléen containTasks (clé 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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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

public Map<Integer, String> getMutableTasks ()

Utilisez plutôt d’autres accesseurs de mutation.

chaîne publique getName ()

nom de chaîne

 The name of this job.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

nom de chaîne

 The name of this job.
 
string name = 1;

public Map<Integer, String> getTasks ()

Utilisez plutôt 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;

chaîne publique getTasksOrDefault (clé int, chaîne valeur par défaut)

 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;

chaîne publique getTasksOrThrow (clé 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 booléen isInitialized ()

public JobDef.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

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

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

public JobDef.Builder putAllTasks (valeurs 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 (clé int, valeur 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 removeTasks (clé 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public JobDef.Builder setName (valeur de chaîne)

nom de chaîne

 The name of this job.
 
string name = 1;

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

nom de chaîne

 The name of this job.
 
string name = 1;

public JobDef.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

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