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
логическое значение
содержит задачи (ключ 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 (значения 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, значение объекта)
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)

Унаследованные методы

Публичные методы

public JobDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

общедоступная сборка JobDef ()

общественный JobDef buildPartial ()

общедоступный JobDef.Builder очистить ()

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

общедоступное логическое значение 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 ()

public Map<Integer, String> getMutableTasks ()

Вместо этого используйте альтернативные методы доступа к мутациям.

общедоступная строка getName ()

 The name of this job.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

public Map<Integer, String> getTasks ()

Вместо этого используйте getTasksMap() .

public 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;

public Map<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, строка 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 ()

public JobDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный JobDef.Builder mergeFrom (com.google.protobuf.Message другое)

публичный финальный JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public 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;

public 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;

public JobDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

public JobDef.Builder setName (строковое значение)

 The name of this job.
 
string name = 1;

public JobDef.Builder setNameBytes (значение com.google.protobuf.ByteString)

 The name of this job.
 
string name = 1;

public JobDef.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)

публичный окончательный набор JobDef.BuilderUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)