classe final pública JobDef
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef Classes aninhadas
| aula | JobDef.Builder | Defines a single job in a TensorFlow cluster. | |
Constantes
| interno | NAME_FIELD_NUMBER | |
| interno | TASKS_FIELD_NUMBER | 
Métodos Públicos
| booleano |  contémTasks (chave int)  Mapping from task ID to "hostname:port" string. | 
| booleano |  é igual (objeto obj) | 
| JobDef estático | |
| JobDef | |
| final estático com.google.protobuf.Descriptors.Descriptor | |
| Corda |  getNome ()  The name of this job. | 
| com.google.protobuf.ByteString |  getNomeBytes ()  The name of this job. | 
| interno | |
| 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. | 
| final com.google.protobuf.UnknownFieldSet | |
| interno |  código hash () | 
| booleano final | |
| JobDef.Builder estático |  newBuilder (protótipo JobDef ) | 
| JobDef.Builder estático | |
| JobDef.Builder | |
| JobDef estático |  parseDelimitedFrom (entrada InputStream) | 
| JobDef estático |  parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| JobDef estático |  parseFrom (dados de ByteBuffer) | 
| JobDef estático |  parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| JobDef estático |  parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| JobDef estático |  parseFrom (entrada com.google.protobuf.CodedInputStream) | 
| JobDef estático |  parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| JobDef estático |  parseFrom (dados com.google.protobuf.ByteString) | 
| JobDef estático |  parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| JobDef estático |  parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| estático |  analisador () | 
| JobDef.Builder | |
| vazio |  writeTo (saída com.google.protobuf.CodedOutputStream)  | 
Métodos herdados
Constantes
int final estático público NAME_FIELD_NUMBER
 Valor Constante: 1 
público estático final int TASKS_FIELD_NUMBER
 Valor Constante: 2 
Métodos Públicos
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; booleano público é igual (Object obj)
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;  público
público int getSerializedSize ()
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; final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hashCode int público ()
público final booleano isInitialized ()
public static JobDef parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException | 
|---|
public static JobDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException | 
|---|
public static JobDef parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException | 
|---|
public static JobDef parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException | 
|---|
público estático JobDef parseFrom (dados com.google.protobuf.ByteString)
Lança
| InvalidProtocolBufferException | 
|---|
public static JobDef parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException | 
|---|
public static JobDef parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException | 
|---|
 estática pública
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
| IOException | 
|---|