ServiceConfig.WorkerConfig

classe finale statique publique ServiceConfig.WorkerConfig

 Configuration for a tf.data service WorkerServer.
 
Type Protobuf tensorflow.data.experimental.WorkerConfig

Classes imbriquées

classe ServiceConfig.WorkerConfig.Builder
 Configuration for a tf.data service WorkerServer. 

Constantes

int DISPATCHER_ADDRESS_FIELD_NUMBER
int DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
int HEARTBEAT_INTERVAL_MS_FIELD_NUMBER
int PORT_FIELD_NUMBER
int PROTOCOL_FIELD_NUMBER
int WORKER_ADDRESS_FIELD_NUMBER

Méthodes publiques

booléen
est égal (Obj objet)
ServiceConfig.WorkerConfig statique
ServiceConfig.WorkerConfig
final statique 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.
int
final com.google.protobuf.UnknownFieldSet
Chaîne
getWorkerAddress ()
 The address of the worker server.
com.google.protobuf.ByteString
getWorkerAddressBytes ()
 The address of the worker server.
int
booléen final
ServiceConfig.WorkerConfig.Builder statique
ServiceConfig.WorkerConfig.Builder statique
ServiceConfig.WorkerConfig.Builder
ServiceConfig.WorkerConfig statique
parseDelimitedFrom (entrée InputStream)
ServiceConfig.WorkerConfig statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.WorkerConfig statique
parseFrom (données ByteBuffer)
ServiceConfig.WorkerConfig statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.WorkerConfig statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.WorkerConfig statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
ServiceConfig.WorkerConfig statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.WorkerConfig statique
parseFrom (données com.google.protobuf.ByteString)
ServiceConfig.WorkerConfig statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceConfig.WorkerConfig statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
ServiceConfig.WorkerConfig.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int DISPATCHER_ADDRESS_FIELD_NUMBER

Valeur constante : 3

public statique final int DISPATCHER_TIMEOUT_MS_FIELD_NUMBER

Valeur constante : 6

public statique final int HEARTBEAT_INTERVAL_MS_FIELD_NUMBER

Valeur constante : 5

public statique final int PORT_FIELD_NUMBER

Valeur constante : 1

public statique final int PROTOCOL_FIELD_NUMBER

Valeur constante : 2

public statique final int WORKER_ADDRESS_FIELD_NUMBER

Valeur constante : 4

Méthodes publiques

public booléen égal (Objet obj)

public statique ServiceConfig.WorkerConfig getDefaultInstance ()

public ServiceConfig.WorkerConfig getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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;

publique getParserForType ()

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;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

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;

code de hachage int public ()

public final booléen isInitialized ()

public statique ServiceConfig.WorkerConfig.Builder newBuilder (prototype ServiceConfig.WorkerConfig )

public statique ServiceConfig.WorkerConfig.Builder newBuilder ()

public ServiceConfig.WorkerConfig.Builder newBuilderForType ()

public statique ServiceConfig.WorkerConfig parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public statique ServiceConfig.WorkerConfig parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ServiceConfig.WorkerConfig parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.WorkerConfig parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ServiceConfig.WorkerConfig parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.WorkerConfig parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public statique ServiceConfig.WorkerConfig parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.WorkerConfig parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public statique ServiceConfig.WorkerConfig parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ServiceConfig.WorkerConfig parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException