מחלקה גמר ציבורית JobDeviceFilters
Defines the device filters for tasks in a job.
tensorflow.JobDeviceFilters
מסוג Protobuf.JobDeviceFilters כיתות מקוננות
מעמד | JobDeviceFilters.Builder | Defines the device filters for tasks in a job. |
קבועים
int | NAME_FIELD_NUMBER | |
int | TASKS_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | containsTasks (מפתח int) Mapping from task ID to task device filters. |
בוליאני | שווה (Object obj) |
סטטי JobDeviceFilters | |
JobDeviceFilters | |
final static com.google.protobuf.Descriptors.Descriptor | |
חוּט | getName () The name of this job. |
com.google.protobuf.ByteString | getNameBytes () The name of this job. |
int | |
מפה<Integer, TaskDeviceFilters > | getTasks () השתמש getTasksMap() במקום זאת. |
int | getTasksCount () Mapping from task ID to task device filters. |
מפה<Integer, TaskDeviceFilters > | getTasksMap () Mapping from task ID to task device filters. |
TaskDeviceFilters | getTasksOrDefault (מפתח int, TaskDeviceFilters defaultValue) Mapping from task ID to task device filters. |
TaskDeviceFilters | getTasksOrThrow (מפתח int) Mapping from task ID to task device filters. |
final com.google.protobuf.UnknownFieldSet | |
int | hashcode () |
בוליאנית סופית | |
סטטי JobDeviceFilters.Builder | newBuilder (אב-טיפוס JobDeviceFilters ) |
סטטי JobDeviceFilters.Builder | newBuilder () |
JobDeviceFilters.Builder | |
סטטי JobDeviceFilters | parseDelimitedFrom (קלט InputStream) |
סטטי JobDeviceFilters | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי JobDeviceFilters | parseFrom (נתוני ByteBuffer) |
סטטי JobDeviceFilters | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי JobDeviceFilters | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי JobDeviceFilters | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי JobDeviceFilters | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי JobDeviceFilters | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי JobDeviceFilters | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי JobDeviceFilters | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
JobDeviceFilters.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
גמר סטטי ציבורי NAME_FIELD_NUMBER
ערך קבוע: 1
גמר סטטי ציבורי TASKS_FIELD_NUMBER
ערך קבוע: 2
שיטות ציבוריות
Public Boolean containsTasks (מפתח int)
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
מחרוזת ציבורית getName ()
The name of this job.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public int getTasksCount ()
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
מפה ציבורית<Integer, TaskDeviceFilters > getTasksMap ()
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
public TaskDeviceFilters getTasksOrDefault (מפתח int, TaskDeviceFilters defaultValue)
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
public TaskDeviceFilters getTasksOrThrow (מפתח int)
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 static JobDeviceFilters parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static JobDeviceFilters parseFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static JobDeviceFilters parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
Public static JobDeviceFilters parseFrom (קלט com.google.protobuf.CodedInputStream)
זורק
IOException |
---|
public static JobDeviceFilters parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
Public static JobDeviceFilters parseFrom (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
public static JobDeviceFilters parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static JobDeviceFilters parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|