Package org.platanios.tensorflow.proto
Interface JobDeviceFiltersOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JobDeviceFilters
,JobDeviceFilters.Builder
public interface JobDeviceFiltersOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsTasks(int key)
Mapping from task ID to task device filters.java.lang.String
getName()
The name of this job.com.google.protobuf.ByteString
getNameBytes()
The name of this job.java.util.Map<java.lang.Integer,TaskDeviceFilters>
getTasks()
Deprecated.int
getTasksCount()
Mapping from task ID to task device filters.java.util.Map<java.lang.Integer,TaskDeviceFilters>
getTasksMap()
Mapping from task ID to task device filters.TaskDeviceFilters
getTasksOrDefault(int key, TaskDeviceFilters defaultValue)
Mapping from task ID to task device filters.TaskDeviceFilters
getTasksOrThrow(int key)
Mapping from task ID to task device filters.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
The name of this job.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of this job.
string name = 1;
- Returns:
- The bytes for name.
-
getTasksCount
int getTasksCount()
Mapping from task ID to task device filters.
map<int32, .org.platanios.tensorflow.proto.TaskDeviceFilters> tasks = 2;
-
containsTasks
boolean containsTasks(int key)
Mapping from task ID to task device filters.
map<int32, .org.platanios.tensorflow.proto.TaskDeviceFilters> tasks = 2;
-
getTasks
@Deprecated java.util.Map<java.lang.Integer,TaskDeviceFilters> getTasks()
Deprecated.UsegetTasksMap()
instead.
-
getTasksMap
java.util.Map<java.lang.Integer,TaskDeviceFilters> getTasksMap()
Mapping from task ID to task device filters.
map<int32, .org.platanios.tensorflow.proto.TaskDeviceFilters> tasks = 2;
-
getTasksOrDefault
TaskDeviceFilters getTasksOrDefault(int key, TaskDeviceFilters defaultValue)
Mapping from task ID to task device filters.
map<int32, .org.platanios.tensorflow.proto.TaskDeviceFilters> tasks = 2;
-
getTasksOrThrow
TaskDeviceFilters getTasksOrThrow(int key)
Mapping from task ID to task device filters.
map<int32, .org.platanios.tensorflow.proto.TaskDeviceFilters> tasks = 2;
-
-