کلاس نهایی استاتیک عمومی ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.
tensorflow.data.experimental.WorkerConfig روش های عمومی
| ServiceConfig.WorkerConfig.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
| 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 | clearHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
| ServiceConfig.WorkerConfig.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| ServiceConfig.WorkerConfig.Builder | clearPort () 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 | |
| نهایی static 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. |
| طولانی | getPort () 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 other) |
| نهایی 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 فیلد، مقدار Object) |
| 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، مقدار Object) |
| 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. |
روش های ارثی
روش های عمومی
عمومی ServiceConfig.WorkerConfig.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی ServiceConfig.WorkerConfig.Builder clearDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3; عمومی 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)
عمومی ServiceConfig.WorkerConfig.Builder clearHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; عمومی 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; عمومی 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; public static final 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; عمومی 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; getHeartbeatIntervalMs طولانی مدت عمومی ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; عمومی طولانی دریافت پورت ()
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; عمومی 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; عمومی 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 ()
عمومی ServiceConfig.WorkerConfig.Builder mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
| IOException |
|---|
عمومی نهایی ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
عمومی ServiceConfig.WorkerConfig.Builder setDispatcherAddress (مقدار رشته)
The address of the dispatcher to register with.
string dispatcher_address = 3; عمومی ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (مقدار com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3; عمومی 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 فیلد، مقدار Object)
Public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (مقدار طولانی)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; عمومی 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; عمومی ServiceConfig.WorkerConfig.Builder setProtocol (مقدار رشته)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; عمومی 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، مقدار Object)
عمومی نهایی ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
عمومی 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; عمومی 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;