classe finale statique publique ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.Type Protobuf
tensorflow.data.experimental.WorkerConfig
Méthodes publiques
ServiceConfig.WorkerConfig.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
ServiceConfig.WorkerConfig | construire () |
ServiceConfig.WorkerConfig | buildPartial () |
ServiceConfig.WorkerConfig.Builder | clair () |
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 (champ 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 | clairPort () The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | effacerProtocole () 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 | cloner () |
ServiceConfig.WorkerConfig | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Chaîne | getDispatcherAddress () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
long | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
long | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
long | obtenirPort () The port for the worker to bind to. |
Chaîne | getProtocole () 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. |
Chaîne | getWorkerAddress () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
booléen final | |
ServiceConfig.WorkerConfig.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Message autre) |
ServiceConfig.WorkerConfig.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (valeur de chaîne) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (valeur com.google.protobuf.ByteString) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (valeur longue) How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (valeur longue) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (valeur longue) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (valeur de chaîne) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (valeur com.google.protobuf.ByteString) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
ServiceConfig.WorkerConfig.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (valeur de chaîne) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (valeur com.google.protobuf.ByteString) The address of the worker server. |
Méthodes héritées
Méthodes publiques
public ServiceConfig.WorkerConfig.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
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 (champ 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 ()
protocole de chaîne
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;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
chaîne publique 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;
public long getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
public long getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public long 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;
chaîne publique getProtocol ()
protocole de chaîne
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public com.google.protobuf.ByteString getProtocolBytes ()
protocole de chaîne
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
chaîne publique 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;
public 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 booléen isInitialized ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (valeur de chaîne)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (valeur com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (valeur longue)
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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (valeur longue)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (valeur longue)
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 (valeur de chaîne)
protocole de chaîne
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (valeur com.google.protobuf.ByteString)
protocole de chaîne
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public final ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (valeur de chaîne)
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 (valeur 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;