общедоступный статический интерфейс 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. |
абстрактный длинный | получитьПорт () 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. |
Публичные методы
общедоступная абстрактная строка 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;