JobDef.Builder

lớp cuối cùng tĩnh công khai JobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
Tenorflow loại tensorflow.JobDef

Phương pháp công cộng

JobDef.Builder
addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
JobDef
JobDef
JobDef.Builder
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
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 cộng

công khai JobDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

bản dựng JobDef công khai ()

công khai JobDef buildPartial ()

công khai JobDef.Builder rõ ràng ()

công khai JobDef.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)

công khai JobDef.Builder clearName ()

string name = 1;

 The name of this job.
 
= 1;

công khai JobDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

công khai JobDef.Builder clearTasks ()

bản sao JobDef.Builder công khai ()

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 JobDef getDefaultInstanceForType ()

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 ()

string name = 1;

 The name of this job.
 
= 1;

com.google.protobuf.ByteString getNameBytes công khai ()

string name = 1;

 The name of this job.
 
= 1;

Bản đồ công khai<Số nguyên, Chuỗi> getTasks ()

Thay vào đó hãy sử dụng getTasksMap() .

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

công khai JobDef.Builder mergeFrom (com.google.protobuf.Message other)

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)

public JobDef.Builder setName (Giá trị chuỗi)

 The name of this job.
 
string name = 1;

công khai JobDef.Builder setNameBytes (giá trị com.google.protobuf.ByteString)

string name = 1;

 The name of this job.
 
= 1;

công khai JobDef.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)

trận chung kết công khai JobDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)