classe finale statica pubblica ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.Tipo di protocollo
tensorflow.data.experimental.WorkerConfig
Metodi pubblici
ServiceConfig.WorkerConfig.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
ServiceConfig.WorkerConfig | costruire () |
ServiceConfig.WorkerConfig | buildPartial () |
ServiceConfig.WorkerConfig.Builder | chiaro () |
ServiceConfig.WorkerConfig.Builder | clearDispatcherIndirizzo () 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 oneof) |
ServiceConfig.WorkerConfig.Builder | cancellaPorta () The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | protocollo chiaro () The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | clearLavoratoreIndirizzo () The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | clone () |
ServiceConfig.WorkerConfig | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
Corda | getIndirizzoDispatcher () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
lungo | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
lungo | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
lungo | getPort () The port for the worker to bind to. |
Corda | getProtocollo () 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 | getindirizzolavoratore () The address of the worker server. |
com.google.protobuf.ByteString | getIndirizzoOperatoreBytes () The address of the worker server. |
booleano finale | |
ServiceConfig.WorkerConfig.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Message altro) |
finale ServiceConfig.WorkerConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (valore stringa) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (valore com.google.protobuf.ByteString) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (valore lungo) 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, valore oggetto) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (valore lungo) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (valore lungo) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (valore stringa) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (valore 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, indice int, valore oggetto) |
finale ServiceConfig.WorkerConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (valore stringa) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (valore com.google.protobuf.ByteString) The address of the worker server. |
Metodi ereditati
Metodi pubblici
public ServiceConfig.WorkerConfig.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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 ()
string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.= 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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
public com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
pubblico lungo getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
pubblico lungo getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
getPort lungo pubblico ()
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 String getProtocol ()
string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.= 2;
pubblico com.google.protobuf.ByteString getProtocolBytes ()
string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.= 2;
public 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;
pubblico 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;
public final booleano isInitialized ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (valore stringa)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (valore com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (valore lungo)
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, valore oggetto)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (valore lungo)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (valore lungo)
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 (valore stringa)
string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.= 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (valore com.google.protobuf.ByteString)
string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.= 2;
public ServiceConfig.WorkerConfig.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
pubblico finale ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (valore stringa)
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 (valore 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;