パブリック静的インターフェイス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. |
| 抽象的な長い | getポート() The port for the worker to bind to. |
| 抽象文字列 | getプロトコル() 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. |
パブリックメソッド
public abstract String getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3; public abstract com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3; public abstract long 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; パブリック抽象long 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; public abstract String 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; パブリック抽象 String 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;