classe final estática pública ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.Protobuf tipo
tensorflow.data.experimental.WorkerConfig
Métodos Públicos
ServiceConfig.WorkerConfig.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ServiceConfig.WorkerConfig | construir () |
ServiceConfig.WorkerConfig | |
ServiceConfig.WorkerConfig.Builder | claro () |
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 (campo 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 umof) |
ServiceConfig.WorkerConfig.Builder | limparPort () The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | limparProtocolo () 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 | clonar () |
ServiceConfig.WorkerConfig | |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getDispatcherAddress () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
longo | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
longo | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
longo | getPort () The port for the worker to bind to. |
Corda | getProtocolo () 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. |
Corda | getWorkerAddress () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
booleano final | |
ServiceConfig.WorkerConfig.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Message outro) |
final ServiceConfig.WorkerConfig.Builder | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (valor da string) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (valor com.google.protobuf.ByteString) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (valor longo) How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (valor longo) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (valor longo) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (valor da string) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (valor com.google.protobuf.ByteString) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
final ServiceConfig.WorkerConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (valor da string) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (valor com.google.protobuf.ByteString) The address of the worker server. |
Métodos herdados
Métodos Públicos
public ServiceConfig.WorkerConfig.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
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 (campo 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 ()
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 ()
protocolo de string
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;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
String pública getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
público com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
getDispatcherTimeoutMs () longo público
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
público longo getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
getPort longo 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;
String pública getProtocol ()
protocolo de string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
público com.google.protobuf.ByteString getProtocolBytes ()
protocolo de string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
String 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;
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;
público final booleano isInitialized ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
final público ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (valor de string)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (valor com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (valor longo)
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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (valor longo)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (valor longo)
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 (valor da string)
protocolo de string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (valor com.google.protobuf.ByteString)
protocolo de string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
público final ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (valor da string)
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 (valor 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;