lớp cuối cùng tĩnh công khai ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.Loại Protobuf
tensorflow.data.experimental.WorkerConfig
Phương pháp công cộng
ServiceConfig.WorkerConfig.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ServiceConfig.WorkerConfig | xây dựng () |
ServiceConfig.WorkerConfig | |
ServiceConfig.WorkerConfig.Builder | thông thoáng () |
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 (trường 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 | giao thức rõ ràng () 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 | dòng vô tính () |
ServiceConfig.WorkerConfig | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
Sợi dây | getDispatcherAddress () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
dài | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
dài | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
dài | getPort () The port for the worker to bind to. |
Sợi dây | getProtocol () 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. |
Sợi dây | getWorkerAddress () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
boolean cuối cùng | |
ServiceConfig.WorkerConfig.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Message other) |
ServiceConfig.WorkerConfig.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (Giá trị chuỗi) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (giá trị com.google.protobuf.ByteString) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (giá trị dài) How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (giá trị dài) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (giá trị dài) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (Giá trị chuỗi) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (giá trị com.google.protobuf.ByteString) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
ServiceConfig.WorkerConfig.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (Giá trị chuỗi) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (giá trị com.google.protobuf.ByteString) The address of the worker server. |
Phương pháp kế thừa
Phương pháp công cộng
public ServiceConfig.WorkerConfig.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
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 (trường 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)
public ServiceConfig.WorkerConfig.Builder clearPort ()
cổng
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 clearProtocol ()
giao thức chuỗi
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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Chuỗi công khai getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
com.google.protobuf.ByteString getDispatcherAddressBytes công khai ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
công khai getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
công khai getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
getPort dài công khai ()
cổng
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;
Chuỗi công khai getProtocol ()
giao thức chuỗi
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
com.google.protobuf.ByteString getProtocolBytes công khai ()
giao thức chuỗi
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
Chuỗi công khai 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 công khai ()
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;
boolean cuối cùng công khai được khởi tạo ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
cuối cùng công khai ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (Giá trị chuỗi)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (giá trị com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (giá trị dài)
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 (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (giá trị dài)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (giá trị dài)
cổng
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 (Giá trị chuỗi)
giao thức chuỗi
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (giá trị com.google.protobuf.ByteString)
giao thức chuỗi
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
cuối cùng công khai ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (Giá trị chuỗi)
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 (giá trị 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;