lớp cuối cùng tĩnh công khai JobDef.Builder
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef Phương pháp công khai
| JobDef.Builder |  addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) | 
| JobDef |  xây dựng () | 
| JobDef | |
| JobDef.Builder |  thông thoáng () | 
| JobDef.Builder |  ClearField (trường 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 |  dòng vô tính () | 
| boolean |  chứa Nhiệm vụ (khóa int)  Mapping from task ID to "hostname:port" string. | 
| JobDef | |
| com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
| com.google.protobuf.Descriptors.Descriptor | |
| Bản đồ<Số nguyên, Chuỗi> |  getMutableTasks ()  Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế. | 
| Sợi dây |  lấy Tên ()  The name of this job. | 
| com.google.protobuf.ByteString |  getNameBytes ()  The name of this job. | 
| Bản đồ<Số nguyên, Chuỗi> |  getTask ()  Thay vào đó hãy sử dụng  getTasksMap(). | 
| int |  getTasksCount ()  Mapping from task ID to "hostname:port" string. | 
| Bản đồ<Số nguyên, Chuỗi> |  getTasksMap ()  Mapping from task ID to "hostname:port" string. | 
| Sợi dây |  getTasksOrDefault (khóa int, Chuỗi defaultValue)  Mapping from task ID to "hostname:port" string. | 
| Sợi dây |  getTasksOrThrow (khóa int)  Mapping from task ID to "hostname:port" string. | 
| boolean cuối cùng | |
| JobDef.Builder |  mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) | 
| JobDef.Builder |  mergeFrom (com.google.protobuf.Message other) | 
| JobDef.Builder cuối cùng |  hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) | 
| JobDef.Builder |  putAllTasks (giá trị Bản đồ<Số nguyên, Chuỗi>)  Mapping from task ID to "hostname:port" string. | 
| JobDef.Builder |  putTasks (khóa int, giá trị chuỗi)  Mapping from task ID to "hostname:port" string. | 
| JobDef.Builder |  loại bỏ nhiệm vụ (khóa int)  Mapping from task ID to "hostname:port" string. | 
| JobDef.Builder |  setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) | 
| JobDef.Builder |  setName (Giá trị chuỗi)  The name of this job. | 
| JobDef.Builder |  setNameBytes (giá trị com.google.protobuf.ByteString)  The name of this job. | 
| JobDef.Builder |  setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) | 
| JobDef.Builder cuối cùng |  setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)  | 
Phương pháp kế thừa
Phương pháp công khai
công khai JobDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
boolean công khai chứaTasks (khóa 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; công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Bản đồ công khai<Integer, String> getMutableTasks ()
Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.
Chuỗi công khai getName ()
The name of this job.
string name = 1; com.google.protobuf.ByteString getNameBytes công khai ()
The name of this job.
string name = 1; int công khai 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; Bản đồ công khai<Số nguyên, Chuỗi> 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; Chuỗi công khai getTasksOrDefault (khóa int, Chuỗi 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; Chuỗi công khai getTasksOrThrow (khóa 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; boolean cuối cùng công khai được khởi tạo ()
công khai JobDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException | 
|---|
trận chung kết công khai JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public JobDef.Builder putAllTasks (giá trị Bản đồ<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 (khóa int, giá trị chuỗi)
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; công khai JobDef.Builder loại bỏ nhiệm vụ (khóa 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; công khai JobDef.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
công khai JobDef.Builder setNameBytes (giá trị com.google.protobuf.ByteString)
The name of this job.
string name = 1;