ServiceConfig.WorkerConfig.Builder

clase final estática pública ServiceConfig.WorkerConfig.Builder

 Configuration for a tf.data service WorkerServer.
 
Tipo protobuf tensorflow.data.experimental.WorkerConfig

Métodos públicos

ServiceConfig.WorkerConfig.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
ServiceConfig.WorkerConfig
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 uno de)
ServiceConfig.WorkerConfig.Builder
puerto claro ()
 The port for the worker to bind to.
ServiceConfig.WorkerConfig.Builder
borrar protocolo ()
 The protocol for the worker to use when connecting to the dispatcher.
ServiceConfig.WorkerConfig.Builder
borrar dirección de trabajador ()
 The address of the worker server.
ServiceConfig.WorkerConfig.Builder
clonar ()
ServiceConfig.WorkerConfig
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
Cadena
getDispatcherAddress ()
 The address of the dispatcher to register with.
com.google.protobuf.ByteString
getDispatcherAddressBytes ()
 The address of the dispatcher to register with.
largo
getDispatcherTimeoutMs ()
 How long to retry requests to the dispatcher before giving up and reporting
 an error.
largo
getHeartbeatIntervalMs ()
 How often the worker should heartbeat to the master.
largo
obtener puerto ()
 The port for the worker to bind to.
Cadena
obtener protocolo ()
 The protocol for the worker to use when connecting to the dispatcher.
com.google.protobuf.ByteString
obtenerProtocolBytes ()
 The protocol for the worker to use when connecting to the dispatcher.
Cadena
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 extensiónRegistry)
ServiceConfig.WorkerConfig.Builder
mergeFrom (com.google.protobuf.Message otro)
ServiceConfig.WorkerConfig.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
ServiceConfig.WorkerConfig.Builder
setDispatcherAddress (valor de cadena)
 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 largo)
 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 del objeto)
ServiceConfig.WorkerConfig.Builder
setHeartbeatIntervalMs (valor largo)
 How often the worker should heartbeat to the master.
ServiceConfig.WorkerConfig.Builder
setPort (valor largo)
 The port for the worker to bind to.
ServiceConfig.WorkerConfig.Builder
setProtocol (valor de cadena)
 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 del objeto)
ServiceConfig.WorkerConfig.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
ServiceConfig.WorkerConfig.Builder
setWorkerAddress (valor de cadena)
 The address of the worker server.
ServiceConfig.WorkerConfig.Builder
setWorkerAddressBytes (valor com.google.protobuf.ByteString)
 The address of the worker server.

Métodos heredados

Métodos públicos

public ServiceConfig.WorkerConfig.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

compilación pública ServiceConfig.WorkerConfig ()

público ServiceConfig.WorkerConfig buildPartial ()

public ServiceConfig.WorkerConfig.Builder clearDispatcherAddress ()

 The address of the dispatcher to register with.
 
string dispatcher_address = 3;

público ServiceConfig.WorkerConfig.Builder clearDispatcherTimeoutMs ()

 How long to retry requests to the dispatcher before giving up and reporting
 an error.
 
int64 dispatcher_timeout_ms = 6;

público ServiceConfig.WorkerConfig.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

público ServiceConfig.WorkerConfig.Builder clearHeartbeatIntervalMs ()

 How often the worker should heartbeat to the master.
 
int64 heartbeat_interval_ms = 5;

público ServiceConfig.WorkerConfig.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

público 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;

público ServiceConfig.WorkerConfig.Builder clearProtocol ()

protocolo de cadena

 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;

público ServiceConfig.WorkerConfig getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

cadena 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;

público largo getDispatcherTimeoutMs ()

 How long to retry requests to the dispatcher before giving up and reporting
 an error.
 
int64 dispatcher_timeout_ms = 6;

público largo getHeartbeatIntervalMs ()

 How often the worker should heartbeat to the master.
 
int64 heartbeat_interval_ms = 5;

getPort público largo ()

 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 pública getProtocol ()

protocolo de cadena

 The protocol for the worker to use when connecting to the dispatcher.
 
string protocol = 2;

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 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 ()

ServiceConfig.WorkerConfig.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)

Lanza
IOExcepción

público ServiceConfig.WorkerConfig.Builder mergeFrom (com.google.protobuf.Message otro)

ServiceConfig.WorkerConfig.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (valor de cadena)

 The address of the dispatcher to register with.
 
string dispatcher_address = 3;

público ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (valor com.google.protobuf.ByteString)

 The address of the dispatcher to register with.
 
string dispatcher_address = 3;

público ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (valor largo)

 How long to retry requests to the dispatcher before giving up and reporting
 an error.
 
int64 dispatcher_timeout_ms = 6;

público ServiceConfig.WorkerConfig.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

público ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (valor largo)

 How often the worker should heartbeat to the master.
 
int64 heartbeat_interval_ms = 5;

público ServiceConfig.WorkerConfig.Builder setPort (valor largo)

 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 de cadena)

protocolo de cadena

 The protocol for the worker to use when connecting to the dispatcher.
 
string protocol = 2;

público ServiceConfig.WorkerConfig.Builder setProtocolBytes (valor com.google.protobuf.ByteString)

protocolo de cadena

 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 del objeto)

público final ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

público ServiceConfig.WorkerConfig.Builder setWorkerAddress (valor de cadena)

 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 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;