interfaz estática pública ServiceConfig.WorkerConfigOrBuilder
Subclases indirectas conocidas |
Métodos públicos
cadena abstracta | getDispatcherAddress () The address of the dispatcher to register with. |
resumen com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
abstracto largo | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
abstracto largo | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
abstracto largo | obtener puerto () The port for the worker to bind to. |
cadena abstracta | obtener protocolo () The protocol for the worker to use when connecting to the dispatcher. |
resumen com.google.protobuf.ByteString | obtenerProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
cadena abstracta | getWorkerAddress () The address of the worker server. |
resumen com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
Métodos públicos
Cadena abstracta pública getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
resumen público com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
getDispatcherTimeoutMs largo abstracto público ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
resumen público largo getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
getPort largo abstracto público ()
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;
Cadena abstracta pública getProtocol ()
protocolo de cadena
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
resumen público com.google.protobuf.ByteString getProtocolBytes ()
protocolo de cadena
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
Cadena abstracta pública 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;
resumen público 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;