JobDef.Builder

classe final estática pública JobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
Tipo de protobuf tensorflow.JobDef

Métodos Públicos

JobDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
JobDef
JobDef
JobDef.Builder
claro ()
JobDef.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
JobDef.Builder
limparNome ()
 The name of this job.
JobDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof)
JobDef.Builder
JobDef.Builder
clonar ()
booleano
contémTasks (chave int)
 Mapping from task ID to "hostname:port" string.
JobDef
final estático com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Mapa<Inteiro, String>
getMutableTasks ()
Use acessadores de mutação alternativos.
Corda
getNome ()
 The name of this job.
com.google.protobuf.ByteString
getNomeBytes ()
 The name of this job.
Mapa<Inteiro, String>
getTasks ()
Use getTasksMap() em vez disso.
interno
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Mapa<Inteiro, String>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Corda
getTasksOrDefault (chave int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
Corda
getTasksOrThrow (chave 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 outro)
JobDef.Builder final
mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
JobDef.Builder
putAllTasks (valores de mapa<inteiro, string>)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (chave int, valor String)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
removeTasks (chave int)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
JobDef.Builder
setName (valor da string)
 The name of this job.
JobDef.Builder
setNameBytes (valor com.google.protobuf.ByteString)
 The name of this job.
JobDef.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
JobDef.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)

Métodos herdados

Métodos Públicos

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

compilação JobDef pública ()

público JobDef buildPartial ()

público JobDef.Builder claro ()

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

público 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 ()

Clone JobDef.Builder público ()

booleano público contémTasks (chave 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 JobDef getDefaultInstanceForType ()

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

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

public Map<Integer, String> getMutableTasks ()

Use acessadores de mutação alternativos.

String pública getNome ()

 The name of this job.
 
string name = 1;

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

 The name of this job.
 
string name = 1;

public Map<Integer, String> getTasks ()

Use getTasksMap() em vez disso.

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<inteiro, 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;

String pública getTasksOrDefault (chave 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;

String pública getTasksOrThrow (chave 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 ()

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

Lança
IOException

público JobDef.Builder mergeFrom (com.google.protobuf.Message outro)

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

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 (chave int, valor 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;

público JobDef.Builder removeTasks (chave 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 do objeto)

público JobDef.Builder setName (valor da string)

 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 do objeto)

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