JobDef

JobDef de clase final pública

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

Clases anidadas

clase JobDef.Builder
 Defines a single job in a TensorFlow cluster. 

Constantes

En t NAME_FIELD_NUMBER
En t TASKS_FIELD_NUMBER

Métodos públicos

booleano
containsTasks (clave int)
 Mapping from task ID to "hostname:port" string.
booleano
es igual a (Objeto obj)
JobDef estático
JobDef
com.google.protobuf.Descriptors.Descriptor estático final
Cuerda
getName ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
En t
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.
final com.google.protobuf.UnknownFieldSet
En t
booleano final
estático JobDef.Builder
newBuilder (prototipo JobDef )
estático JobDef.Builder
JobDef.Builder
JobDef estático
parseDelimitedFrom (entrada InputStream)
JobDef estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (datos ByteBuffer)
JobDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
JobDef estático
parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (datos com.google.protobuf.ByteString)
JobDef estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef estático
parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
JobDef.Builder
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

public static final int NAME_FIELD_NUMBER

Valor constante: 1

public static final int TASKS_FIELD_NUMBER

Valor constante: 2

Métodos públicos

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 boolean es igual a (Object obj)

public static JobDef getDefaultInstance ()

public JobDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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;

público getParserForType ()

public int getSerializedSize ()

public Map <Integer, String> getTasks ()

Utilice getTasksMap() lugar.

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 com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

JobDef.Builder estático público newBuilder (prototipo de JobDef )

JobDef.Builder estático público newBuilder ()

public JobDef.Builder newBuilderForType ()

JobDef estático público parseDelimitedFrom (entrada InputStream)

Lanza
IOException

public static JobDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

JobDef estático público parseFrom (datos ByteBuffer)

Lanza
InvalidProtocolBufferException

JobDef estático público parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

JobDef estático público parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

JobDef estático público parseFrom (entrada com.google.protobuf.CodedInputStream)

Lanza
IOException

público estático JobDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

JobDef estático público parseFrom (datos de com.google.protobuf.ByteString)

Lanza
InvalidProtocolBufferException

JobDef estático público parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

JobDef estático público parseFrom (datos de com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

público estático analizador ()

public JobDef.Builder toBuilder ()

public void writeTo (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOException