JobDef.Builder

מחלקה סופית סטטית ציבורית JobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
סוג Protobuf tensorflow.JobDef

שיטות ציבוריות

JobDef.Builder
addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
JobDef
JobDef
JobDef.Builder
JobDef.Builder
clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)
JobDef.Builder
clearName ()
 The name of this job.
JobDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobDef.Builder
JobDef.Builder
בוליאני
containsTasks (מפתח int)
 Mapping from task ID to "hostname:port" string.
JobDef
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
מפה<Integer, String>
getMutableTasks ()
השתמש במקום זאת באביזרי מוטציה חלופיים.
חוּט
getName ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
מפה<Integer, String>
getTasks ()
השתמש getTasksMap() במקום זאת.
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
מפה<Integer, String>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
חוּט
getTasksOrDefault (מפתח int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
חוּט
getTasksOrThrow (מפתח int)
 Mapping from task ID to "hostname:port" string.
בוליאנית סופית
JobDef.Builder
mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
JobDef.Builder
mergeFrom (com.google.protobuf.Message אחר)
Final JobDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
JobDef.Builder
putAllTasks (ערכי מפה<Integer, String>)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (מפתח int, ערך מחרוזת)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
removeTasks (מפתח int)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
JobDef.Builder
setName (ערך מחרוזת)
 The name of this job.
JobDef.Builder
setNameBytes (ערך com.google.protobuf.ByteString)
 The name of this job.
JobDef.Builder
setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)
Final JobDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

שיטות בירושה

שיטות ציבוריות

Public JobDef.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

בניית JobDef ציבורית ()

public JobDef buildPartial ()

public JobDef.Builder clear ()

Public JobDef.Builder clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)

public JobDef.Builder clearName ()

 The name of this job.
 
string name = 1;

Public JobDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public JobDef.Builder clearTasks ()

שיבוט JobDef.Builder ציבורי ()

Public Boolean containsTasks (מפתח int)

 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;

public JobDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

מפה ציבורית<Integer, String> getMutableTasks ()

השתמש במקום זאת באביזרי מוטציה חלופיים.

מחרוזת ציבורית getName ()

 The name of this job.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

מפה ציבורית<Integer, String> getTasks ()

השתמש getTasksMap() במקום זאת.

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

מפה ציבורית<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;

מחרוזת ציבורית getTasksOrDefault (מפתח int, 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;

מחרוזת ציבורית getTasksOrThrow (מפתח int)

 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;

בוליאני הסופי הציבורי הוא אתחול ()

public JobDef.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public JobDef.Builder mergeFrom (com.google.protobuf.Message אחר)

Public final JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Public JobDef.Builder putAllTasks (ערכי מפה<Integer, String>)

 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;

public JobDef.Builder putTasks (מפתח int, ערך מחרוזת)

 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;

public JobDef.Builder removeTasks (מפתח int)

 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;

Public JobDef.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

public JobDef.Builder setName (ערך מחרוזת)

 The name of this job.
 
string name = 1;

Public JobDef.Builder setNameBytes (ערך com.google.protobuf.ByteString)

 The name of this job.
 
string name = 1;

Public JobDef.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)

Public final JobDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)