JobDef.Builder

JobDef.Builder คลาสสุดท้ายแบบคงที่สาธารณะ

 Defines a single job in a TensorFlow cluster.
 
Protobuf ประเภท tensorflow.JobDef

วิธีการสาธารณะ

JobDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ช่อง ค่าอ็อบเจ็กต์)
จ็อบดีฟ
จ็อบดีฟ
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
บูลีน
hasTasks (คีย์ int)
 Mapping from task ID to "hostname:port" string.
จ็อบดีฟ
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย
com.google.protobuf.Descriptors.Descriptor
แมป <จำนวนเต็ม สตริง>
getMutableTasks ()
ใช้ตัวเข้าถึงการกลายพันธุ์สำรองแทน
สตริง
รับชื่อ ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
แมป <จำนวนเต็ม สตริง>
รับงาน ()
ใช้ getTasksMap() แทน
ภายใน
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
แมป <จำนวนเต็ม สตริง>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
สตริง
getTasksOrDefault (คีย์ int, สตริง 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.ข้อความ อื่น ๆ )
JobDef.Builder สุดท้าย
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
JobDef.Builder
putAllTasks (แมปค่า <จำนวนเต็ม สตริง>)
 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, ดัชนี int, ค่าอ็อบเจ็กต์)
JobDef.Builder สุดท้าย
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

วิธีการสืบทอด

วิธีการสาธารณะ

สาธารณะ JobDef.Builder addRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)

บิลด์ JobDef สาธารณะ ()

JobDef สาธารณะ buildPartial ()

JobDef.Builder สาธารณะ ชัดเจน ()

JobDef.Builder clearField สาธารณะ (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor)

สาธารณะ JobDef.Builder clearName ()

string name = 1;

 The name of this job.
 
= 1;

JobDef.Builder สาธารณะ clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

JobDef.Builder สาธารณะ clearTasks ()

โคลน JobDef.Builder สาธารณะ ()

บูลีนสาธารณะ 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;

JobDef สาธารณะ getDefaultInstanceForType ()

สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()

สาธารณะ com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

แผนที่สาธารณะ <จำนวนเต็ม สตริง> getMutableTasks ()

ใช้ตัวเข้าถึงการกลายพันธุ์สำรองแทน

สตริงสาธารณะ getName ()

string name = 1;

 The name of this job.
 
= 1;

สาธารณะ com.google.protobuf.ByteString getNameBytes ()

ชื่อสตริง

 The name of this job.
 
string name = 1;

แผนที่สาธารณะ <จำนวนเต็ม สตริง> 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;

แผนที่สาธารณะ <จำนวนเต็ม สตริง> 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, สตริง 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;

บูลีนสุดท้ายสาธารณะ isInitialized ()

JobDef.Builder สาธารณะ ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

JobDef.Builder สาธารณะ ผสานจาก (com.google.protobuf.Message อื่น ๆ )

JobDef.Builder สุดท้ายสาธารณะ ผสาน UnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

JobDef.Builder สาธารณะ ใส่ AllTasks (แมปค่า <จำนวนเต็ม สตริง>)

แผนที่

 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 สาธารณะ 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;

สาธารณะ JobDef.Builder setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)

JobDef.Builder setName สาธารณะ (ค่าสตริง)

string name = 1;

 The name of this job.
 
= 1;

JobDef.Builder สาธารณะ setNameBytes (ค่า com.google.protobuf.ByteString)

string name = 1;

 The name of this job.
 
= 1;

สาธารณะ JobDef.Builder setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์)

JobDef.Builder สุดท้ายสาธารณะ setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)