JobDef.Builder

عمومی استاتیک کلاس نهایی JobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
نوع Protobuf tensorflow.JobDef

روش های عمومی

JobDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
JobDef
JobDef
JobDef.Builder
JobDef.Builder
clearField (فیلد 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
بولی
containTasks (کلید int)
 Mapping from task ID to "hostname:port" string.
JobDef
نهایی static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
نقشه<Integer, String>
getMutableTasks ()
به جای آن از ابزارهای جهش جایگزین استفاده کنید.
رشته
getName ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
نقشه<Integer, String>
getTasks ()
به جای آن از getTasksMap() استفاده کنید.
بین المللی
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
نقشه<Integer, String>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
رشته
getTasksOrDefault (کلید int، مقدار پیش‌فرض رشته)
 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 other)
JobDef.Builder نهایی
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
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
removeTasks (کلید int)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
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، مقدار Object)
JobDef.Builder نهایی
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

روش های ارثی

روش های عمومی

عمومی JobDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)

ساخت عمومی JobDef ()

ساخت جزئی JobDef عمومی ()

عمومی JobDef.Builder clear ()

عمومی JobDef.Builder clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor)

عمومی JobDef.Builder clearName ()

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

public static final 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، مقدار پیش فرض رشته)

 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 mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی JobDef.Builder mergeFrom (com.google.protobuf.Message other)

عمومی نهایی JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

عمومی 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;

putTasks عمومی 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 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;

public setField JobDef.Builder (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)

عمومی JobDef.Builder setName (مقدار رشته)

 The name of this job.
 
string name = 1;

عمومی JobDef.Builder setNameBytes (مقدار com.google.protobuf.ByteString)

 The name of this job.
 
string name = 1;

عمومی JobDef.Builder setRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)

نهایی عمومی JobDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)