public interface JobDefOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTasks(int key)
Mapping from task ID to "hostname:port" string.
|
String |
getName()
The name of this job.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
The name of this job.
|
Map<Integer,String> |
getTasks()
Deprecated.
|
int |
getTasksCount()
Mapping from task ID to "hostname:port" string.
|
Map<Integer,String> |
getTasksMap()
Mapping from task ID to "hostname:port" string.
|
String |
getTasksOrDefault(int key,
String defaultValue)
Mapping from task ID to "hostname:port" string.
|
String |
getTasksOrThrow(int key)
Mapping from task ID to "hostname:port" string.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name of this job.
string name = 1;org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of this job.
string name = 1;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;boolean containsTasks(int key)
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;@Deprecated Map<Integer,String> getTasks()
getTasksMap() instead.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;String getTasksOrDefault(int key, 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 getTasksOrThrow(int key)
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;Copyright © 2021. All rights reserved.