clase final estática pública JobDef.Builder
Defines a single job in a TensorFlow cluster.Protobuf tipo
tensorflow.JobDef
Métodos públicos
JobDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
JobDef | construir () |
JobDef | buildPartial () |
JobDef.Builder | claro () |
JobDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
JobDef.Builder | clearName () The name of this job. |
JobDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JobDef.Builder | clearTasks () |
JobDef.Builder | clonar () |
booleano | containsTasks (clave int) Mapping from task ID to "hostname:port" string. |
JobDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Mapa <entero, cadena> | getMutableTasks () En su lugar, utilice accesores de mutación alternativos. |
Cuerda | getName () The name of this job. |
com.google.protobuf.ByteString | getNameBytes () The name of this job. |
Mapa <entero, cadena> | getTasks () Utilice getTasksMap() lugar. |
En t | getTasksCount () Mapping from task ID to "hostname:port" string. |
Mapa <entero, cadena> | getTasksMap () Mapping from task ID to "hostname:port" string. |
Cuerda | getTasksOrDefault (clave int, String defaultValue) Mapping from task ID to "hostname:port" string. |
Cuerda | getTasksOrThrow (clave int) Mapping from task ID to "hostname:port" string. |
booleano final | |
JobDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
JobDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
JobDef.Builder | putAllTasks (Map <Integer, String> valores) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | putTasks (clave int, valor de cadena) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | removeTasks (clave int) Mapping from task ID to "hostname:port" string. |
JobDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
JobDef.Builder | setName (valor de cadena) The name of this job. |
JobDef.Builder | setNameBytes (valor de com.google.protobuf.ByteString) The name of this job. |
JobDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
JobDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos heredados
Métodos públicos
public JobDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public boolean containsTasks (clave 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 ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map <Integer, String> getMutableTasks ()
En su lugar, utilice accesores de mutación alternativos.
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 (clave 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 (clave 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 boolean isInitialized ()
public JobDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public JobDef.Builder putAllTasks (Map <Integer, String> valores)
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 (clave int, valor de cadena)
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 (clave 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, valor del objeto)
public JobDef.Builder setNameBytes (valor com.google.protobuf.ByteString)
The name of this job.
string name = 1;