JobDeviceFilters

public final class JobDeviceFilters

 Defines the device filters for tasks in a job.
 
Protobuf type tensorflow.JobDeviceFilters

Nested Classes

class JobDeviceFilters.Builder
 Defines the device filters for tasks in a job. 

Constants

int NAME_FIELD_NUMBER
int TASKS_FIELD_NUMBER

Public Methods

boolean
containsTasks(int key)
 Mapping from task ID to task device filters.
boolean
equals(Object obj)
static JobDeviceFilters
JobDeviceFilters
final static com.google.protobuf.Descriptors.Descriptor
String
getName()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes()
 The name of this job.
int
Map<Integer, TaskDeviceFilters>
getTasks()
Use getTasksMap() instead.
int
getTasksCount()
 Mapping from task ID to task device filters.
Map<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.
final com.google.protobuf.UnknownFieldSet
int
final boolean
static JobDeviceFilters.Builder
static JobDeviceFilters.Builder
JobDeviceFilters.Builder
static JobDeviceFilters
parseDelimitedFrom(InputStream input)
static JobDeviceFilters
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobDeviceFilters
parseFrom(ByteBuffer data)
static JobDeviceFilters
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobDeviceFilters
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobDeviceFilters
parseFrom(com.google.protobuf.CodedInputStream input)
static JobDeviceFilters
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobDeviceFilters
parseFrom(com.google.protobuf.ByteString data)
static JobDeviceFilters
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobDeviceFilters
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
JobDeviceFilters.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int NAME_FIELD_NUMBER

Constant Value: 1

public static final int TASKS_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean containsTasks (int key)

 Mapping from task ID to task device filters.
 
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;

public boolean equals (Object obj)

public static JobDeviceFilters getDefaultInstance ()

public JobDeviceFilters 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;

public getParserForType ()

public int getSerializedSize ()

public Map<Integer, TaskDeviceFilters> getTasks ()

Use getTasksMap() instead.

public int getTasksCount ()

 Mapping from task ID to task device filters.
 
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;

public Map<Integer, TaskDeviceFilters> getTasksMap ()

 Mapping from task ID to task device filters.
 
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;

public TaskDeviceFilters getTasksOrDefault (int key, TaskDeviceFilters defaultValue)

 Mapping from task ID to task device filters.
 
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;

public TaskDeviceFilters getTasksOrThrow (int key)

 Mapping from task ID to task device filters.
 
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static JobDeviceFilters.Builder newBuilder (JobDeviceFilters prototype)

public static JobDeviceFilters.Builder newBuilder ()

public JobDeviceFilters.Builder newBuilderForType ()

public static JobDeviceFilters parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static JobDeviceFilters parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static JobDeviceFilters parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static JobDeviceFilters parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static JobDeviceFilters parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static JobDeviceFilters parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static JobDeviceFilters parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static JobDeviceFilters parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static JobDeviceFilters parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public JobDeviceFilters.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException