publiczna statyczna klasa końcowa JobDef.Builder
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef Metody publiczne
| JobDef.Builder |  addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)  | 
| JobDef |  zbudować ()  | 
| JobDef | |
| JobDef.Builder |  jasne ()  | 
| JobDef.Builder |  clearField (pole com.google.protobuf.Descriptors.FieldDescriptor)  | 
| JobDef.Builder |  wyczyść nazwę ()  The name of this job.  | 
| JobDef.Builder |  clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)  | 
| JobDef.Builder | |
| JobDef.Builder |  klon ()  | 
| wartość logiczna |  zawieraZadania (klucz int)  Mapping from task ID to "hostname:port" string.  | 
| JobDef | |
| końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Mapa<liczba całkowita, ciąg> |  getMutableTasks ()  Zamiast tego użyj alternatywnych akcesorów mutacji.  | 
| Smyczkowy |  pobierz nazwę ()  The name of this job.  | 
| com.google.protobuf.ByteString |  getNameBytes ()  The name of this job.  | 
| Mapa<liczba całkowita, ciąg> |  pobierzZadania ()  Zamiast tego użyj  getTasksMap() . | 
| wew |  getTasksCount ()  Mapping from task ID to "hostname:port" string.  | 
| Mapa<liczba całkowita, ciąg> |  getTasksMap ()  Mapping from task ID to "hostname:port" string.  | 
| Smyczkowy |  getTasksOrDefault (klucz int, ciąg domyślna wartość)  Mapping from task ID to "hostname:port" string.  | 
| Smyczkowy |  getTasksOrThrow (klawisz int)  Mapping from task ID to "hostname:port" string.  | 
| końcowa wartość logiczna | |
| JobDef.Builder |  mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)  | 
| JobDef.Builder |  mergeFrom (com.google.protobuf.Wiadomość inna)  | 
| końcowy JobDef.Builder |  mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola)  | 
| JobDef.Builder |  putAllTasks (wartości Map<Integer, String>)  Mapping from task ID to "hostname:port" string.  | 
| JobDef.Builder |  putTasks (klucz int, wartość ciągu)  Mapping from task ID to "hostname:port" string.  | 
| JobDef.Builder |  usuńZadania (klawisz int)  Mapping from task ID to "hostname:port" string.  | 
| JobDef.Builder |  setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)  | 
| JobDef.Builder |  setName (wartość ciągu)  The name of this job.  | 
| JobDef.Builder |  setNameBytes (wartość com.google.protobuf.ByteString)  The name of this job.  | 
| JobDef.Builder |  setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)  | 
| końcowy JobDef.Builder |  setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola)   | 
Metody dziedziczone
Metody publiczne
public JobDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
publiczna wartość logiczna zawieraZadania (klucz 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map<Integer, String> getMutableTasks ()
Zamiast tego użyj alternatywnych akcesorów mutacji.
public 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 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 (klucz 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; publiczny ciąg getTasksOrThrow (klucz 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; publiczna końcowa wartość logiczna isInitialized ()
publiczne JobDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO | 
|---|
publiczny końcowy JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
publiczne JobDef.Builder putAllTasks (wartości 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 (klucz int, wartość 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 usuńTasks (klawisz 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 (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
publiczny JobDef.Builder setNameBytes (wartość com.google.protobuf.ByteString)
The name of this job.
string name = 1;