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
اسم واضح ()
 The name of this job.
JobDef.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobDef.Builder
JobDef.Builder
منطقية
يحتوي على المهام (مفتاح int)
 Mapping from task ID to "hostname:port" string.
JobDef
النهائي الثابت com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
خريطة <عدد صحيح، سلسلة>
الحصول على مهام قابلة للتغيير ()
استخدم أدوات الوصول البديلة للطفرات بدلاً من ذلك.
خيط
الحصول على الاسم ()
 The name of this job.
com.google.protobuf.ByteString
الحصول على اسم بايت ()
 The name of this job.
خريطة <عدد صحيح، سلسلة>
الحصول على المهام ()
استخدم getTasksMap() بدلاً من ذلك.
كثافة العمليات
الحصول على المهام ()
 Mapping from task ID to "hostname:port" string.
خريطة <عدد صحيح، سلسلة>
خريطة المهام ()
 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
دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
JobDef.Builder
دمج من (com.google.protobuf.Message أخرى)
JobDef.Builder النهائي
دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
JobDef.Builder
putAllTasks (قيم Map<Integer, String>)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (مفتاح int، قيمة السلسلة)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
إزالة المهام (مفتاح 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، فهرس int، قيمة الكائن)
JobDef.Builder النهائي
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

الطرق الموروثة

الأساليب العامة

JobDef.Builder public addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)

بناء JobDef العام ()

JobDef العام buildPartial ()

JobDef.Builder العام واضح ()

JobDef.Builder ClearField العام (حقل com.google.protobuf.Descriptors.FieldDescriptor)

JobDef.Builder العامة اسم واضح ()

 The name of this job.
 
string name = 1;

JobDef.Builder العام ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

JobDef.Builder العامة ClearTasks ()

استنساخ JobDef.Builder العام ()

يحتوي المنطق المنطقي العام على المهام (مفتاح 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;

JobDef العام getDefaultInstanceForType ()

النهائي العام الثابت com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor getDescriptorForType () العام

الخريطة العامة<Integer, String> getMutableTasks ()

استخدم أدوات الوصول البديلة للطفرات بدلاً من ذلك.

سلسلة getName العامة ()

 The name of this job.
 
string name = 1;

com.google.protobuf.ByteString getNameBytes () العام

 The name of this job.
 
string name = 1;

الخريطة العامة<Integer, String> getTasks ()

استخدم getTasksMap() بدلاً من ذلك.

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;

تمت تهيئة القيمة المنطقية النهائية العامة ()

JobDef.Builder العام mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

JobDef.Builder العام mergeFrom (com.google.protobuf.Message أخرى)

JobDef.Builder النهائي العام mergeUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)

JobDef.Builder العام putAllTasks (قيم Map<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;

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;

إزالة المهام العامة JobDef.Builder (مفتاح 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;

JobDef.Builder setField العام (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)

اسم مجموعة JobDef.Builder العام (قيمة السلسلة)

 The name of this job.
 
string name = 1;

مجموعة JobDef.Builder العامة NameBytes (قيمة com.google.protobuf.ByteString)

 The name of this job.
 
string name = 1;

JobDef.Builder العام setRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، مؤشر int، قيمة الكائن)

JobDef.Builder النهائي العام setUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)