общедоступный статический конечный класс ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.
tensorflow.data.experimental.WorkerConfig Публичные методы
| ServiceConfig.WorkerConfig.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
| ServiceConfig.WorkerConfig | строить () |
| ServiceConfig.WorkerConfig | |
| ServiceConfig.WorkerConfig.Builder | прозрачный () |
| ServiceConfig.WorkerConfig.Builder | ClearDispatcherAddress () The address of the dispatcher to register with. |
| ServiceConfig.WorkerConfig.Builder | ClearDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
| ServiceConfig.WorkerConfig.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
| ServiceConfig.WorkerConfig.Builder | ясноHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
| ServiceConfig.WorkerConfig.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| ServiceConfig.WorkerConfig.Builder | очиститьПорт () The port for the worker to bind to. |
| ServiceConfig.WorkerConfig.Builder | очистить протокол () The protocol for the worker to use when connecting to the dispatcher. |
| ServiceConfig.WorkerConfig.Builder | ClearWorkerAddress () The address of the worker server. |
| ServiceConfig.WorkerConfig.Builder | клон () |
| ServiceConfig.WorkerConfig | |
| окончательный статический com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Нить | getDispatcherAddress () The address of the dispatcher to register with. |
| com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
| длинный | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
| длинный | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
| длинный | получитьПорт () The port for the worker to bind to. |
| Нить | получить протокол () The protocol for the worker to use when connecting to the dispatcher. |
| com.google.protobuf.ByteString | getProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
| Нить | getWorkerAddress () The address of the worker server. |
| com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
| последнее логическое значение | |
| ServiceConfig.WorkerConfig.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Message другое) |
| окончательный ServiceConfig.WorkerConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
| ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (строковое значение) The address of the dispatcher to register with. |
| ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (значение com.google.protobuf.ByteString) The address of the dispatcher to register with. |
| ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (длинное значение) How long to retry requests to the dispatcher before giving up and reporting an error. |
| ServiceConfig.WorkerConfig.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
| ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (длинное значение) How often the worker should heartbeat to the master. |
| ServiceConfig.WorkerConfig.Builder | setPort (длинное значение) The port for the worker to bind to. |
| ServiceConfig.WorkerConfig.Builder | setProtocol (строковое значение) The protocol for the worker to use when connecting to the dispatcher. |
| ServiceConfig.WorkerConfig.Builder | setProtocolBytes (значение com.google.protobuf.ByteString) The protocol for the worker to use when connecting to the dispatcher. |
| ServiceConfig.WorkerConfig.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
| окончательный ServiceConfig.WorkerConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
| ServiceConfig.WorkerConfig.Builder | setWorkerAddress (строковое значение) The address of the worker server. |
| ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (значение com.google.protobuf.ByteString) The address of the worker server. |
Унаследованные методы
Публичные методы
public ServiceConfig.WorkerConfig.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ServiceConfig.WorkerConfig.Builder ClearDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3; public ServiceConfig.WorkerConfig.Builder ClearDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6; public ServiceConfig.WorkerConfig.Builder ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
public ServiceConfig.WorkerConfig.Builder ClearHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; public ServiceConfig.WorkerConfig.Builder ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
общественный ServiceConfig.WorkerConfig.Builder ClearPort ()
The port for the worker to bind to. A value of 0 indicates that the worker may bind to any available port.
int64 port = 1; общедоступный ServiceConfig.WorkerConfig.Builder ClearProtocol ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; public ServiceConfig.WorkerConfig.Builder ClearWorkerAddress ()
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4; общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
публичная строка getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3; public com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3; общедоступный длинный getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6; public long getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; публичный длинный getPort ()
The port for the worker to bind to. A value of 0 indicates that the worker may bind to any available port.
int64 port = 1; публичная строка getProtocol ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; public com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; публичная строка getWorkerAddress ()
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4; public com.google.protobuf.ByteString getWorkerAddressBytes ()
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4; публичное окончательное логическое значение isInitialized ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO |
|---|
общедоступный окончательный ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (строковое значение)
The address of the dispatcher to register with.
string dispatcher_address = 3; public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (значение com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3; public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (длинное значение)
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6; public ServiceConfig.WorkerConfig.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (длинное значение)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; public ServiceConfig.WorkerConfig.Builder setPort (длинное значение)
The port for the worker to bind to. A value of 0 indicates that the worker may bind to any available port.
int64 port = 1; public ServiceConfig.WorkerConfig.Builder setProtocol (строковое значение)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; public ServiceConfig.WorkerConfig.Builder setProtocolBytes (значение com.google.protobuf.ByteString)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; public ServiceConfig.WorkerConfig.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
общедоступный окончательный ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (строковое значение)
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4; public ServiceConfig.WorkerConfig.Builder setWorkerAddressBytes (значение com.google.protobuf.ByteString)
The address of the worker server. The substring "%port%", if specified, will be replaced with the worker's bound port. This is useful when the port is set to `0`.
string worker_address = 4;