JobDef.Builder

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.Constructor
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
TrabajoDef
TrabajoDef
JobDef.Constructor
claro ()
JobDef.Constructor
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
JobDef.Constructor
borrar nombre ()
 The name of this job.
JobDef.Constructor
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de)
JobDef.Constructor
JobDef.Constructor
clonar ()
booleano
contiene tareas (tecla int)
 Mapping from task ID to "hostname:port" string.
TrabajoDef
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
Mapa<Entero, Cadena>
getMutableTasks ()
Utilice descriptores de acceso de mutación alternativos en su lugar.
Cadena
obtenerNombre ()
 The name of this job.
com.google.protobuf.ByteString
getNombreBytes ()
 The name of this job.
Mapa<Entero, Cadena>
obtener tareas ()
Utilice getTasksMap() en su lugar.
entero
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Mapa<Entero, Cadena>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Cadena
getTasksOrDefault (clave int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
Cadena
getTasksOrThrow (tecla int)
 Mapping from task ID to "hostname:port" string.
booleano final
JobDef.Constructor
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
JobDef.Constructor
mergeFrom (com.google.protobuf.Message otro)
JobDef.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
JobDef.Constructor
putAllTasks (valores de Mapa<Integer, String>)
 Mapping from task ID to "hostname:port" string.
JobDef.Constructor
putTasks (clave int, valor de cadena)
 Mapping from task ID to "hostname:port" string.
JobDef.Constructor
eliminar tareas (tecla int)
 Mapping from task ID to "hostname:port" string.
JobDef.Constructor
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
JobDef.Constructor
setName (valor de cadena)
 The name of this job.
JobDef.Constructor
setNameBytes (valor com.google.protobuf.ByteString)
 The name of this job.
JobDef.Constructor
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
JobDef.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

Métodos heredados

Métodos públicos

public JobDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

compilación pública de JobDef ()

public JobDef buildPartial ()

público JobDef.Builder claro ()

público JobDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public JobDef.Builder clearName ()

 The name of this job.
 
string name = 1;

público JobDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public JobDef.Builder clearTasks ()

clon público de JobDef.Builder ()

booleano público contiene tareas (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 getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

Mapa público<Entero, Cadena> getMutableTasks ()

Utilice descriptores de acceso de mutación alternativos en su lugar.

cadena pública getName ()

 The name of this job.
 
string name = 1;

público com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

Mapa público<Entero, Cadena> getTasks ()

Utilice getTasksMap() en su lugar.

público 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;

Mapa público<Entero, Cadena> 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;

cadena pública getTasksOrDefault (clave int, cadena 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;

cadena pública 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;

público final booleano isInitialized ()

JobDef.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)

Lanza
IOExcepción

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

JobDef.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

public JobDef.Builder putAllTasks (valores de mapa<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 (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 setName (valor de cadena)

 The name of this job.
 
string name = 1;

público JobDef.Builder setNameBytes (valor com.google.protobuf.ByteString)

 The name of this job.
 
string name = 1;

public JobDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)

JobDef.Builder final público setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)