ממשק סטטי ציבורי ServiceConfig.WorkerConfigOrBuilder
| תת-מחלקות עקיפות ידועות |
שיטות ציבוריות
| מחרוזת מופשטת | 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. |
| מחרוזת מופשטת | 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. |
| מחרוזת מופשטת | getWorkerAddress () The address of the worker server. |
| תקציר com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
שיטות ציבוריות
מחרוזת תקציר ציבורי 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; תקציר ציבורי ארוך 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; תקציר ציבורי 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;