מחלקה סופית סטטית ציבורית JobDeviceFilters.Builder
Defines the device filters for tasks in a job.
tensorflow.JobDeviceFilters
מסוג Protobuf.JobDeviceFilters שיטות ציבוריות
JobDeviceFilters.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
JobDeviceFilters | לבנות () |
JobDeviceFilters | buildPartial () |
JobDeviceFilters.Builder | ברור () |
JobDeviceFilters.Builder | clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor) |
JobDeviceFilters.Builder | clearName () The name of this job. |
JobDeviceFilters.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JobDeviceFilters.Builder | clearTasks () |
JobDeviceFilters.Builder | שיבוט () |
בוליאני | containsTasks (מפתח int) Mapping from task ID to task device filters. |
JobDeviceFilters | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
מפה<Integer, TaskDeviceFilters > | getMutableTasks () השתמש במקום זאת באביזרי מוטציה חלופיים. |
חוּט | getName () The name of this job. |
com.google.protobuf.ByteString | getNameBytes () The name of this job. |
מפה<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. |
בוליאנית סופית | |
JobDeviceFilters.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobDeviceFilters.Builder | mergeFrom (com.google.protobuf.Message אחר) |
Final JobDeviceFilters.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
JobDeviceFilters.Builder | |
JobDeviceFilters.Builder | |
JobDeviceFilters.Builder | removeTasks (מפתח int) Mapping from task ID to task device filters. |
JobDeviceFilters.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
JobDeviceFilters.Builder | setName (ערך מחרוזת) The name of this job. |
JobDeviceFilters.Builder | setNameBytes (ערך com.google.protobuf.ByteString) The name of this job. |
JobDeviceFilters.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
Final JobDeviceFilters.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
Public JobDeviceFilters.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
Public Boolean containsTasks (מפתח int)
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
מחרוזת ציבורית getName ()
The name of this job.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1;
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 JobDeviceFilters.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public final JobDeviceFilters.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public JobDeviceFilters.Builder putAllTasks (מפה<Integer, TaskDeviceFilters > ערכים)
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
Public JobDeviceFilters.Builder putTasks (מפתח int, ערך TaskDeviceFilters )
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
public JobDeviceFilters.Builder removeTasks (מפתח int)
Mapping from task ID to task device filters.
map<int32, .tensorflow.TaskDeviceFilters> tasks = 2;
Public JobDeviceFilters.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
Public JobDeviceFilters.Builder setNameBytes (ערך com.google.protobuf.ByteString)
The name of this job.
string name = 1;