JobDef.Builder คลาสสุดท้ายแบบคงที่สาธารณะ
Defines a single job in a TensorFlow cluster.
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.Message อื่น ๆ ) | 
| 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 ค่าอ็อบเจ็กต์)
บูลีนสาธารณะ 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; สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()
สาธารณะ com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
แผนที่สาธารณะ <จำนวนเต็ม สตริง> getMutableTasks ()
ใช้ตัวเข้าถึงการกลายพันธุ์สำรองแทน
สตริงสาธารณะ getName ()
The name of this job.
string name = 1; สาธารณะ com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1; สาธารณะ 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 สาธารณะ ใส่ 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 สาธารณะ setNameBytes (ค่า com.google.protobuf.ByteString)
The name of this job.
string name = 1;