ServiceConfig.WorkerConfig de clase final estática pública
Configuration for a tf.data service WorkerServer.Protobuf tipo
tensorflow.data.experimental.WorkerConfig Clases anidadas
| clase | ServiceConfig.WorkerConfig.Builder | Configuration for a tf.data service WorkerServer. | |
Constantes
| En t | DISPATCHER_ADDRESS_FIELD_NUMBER | |
| En t | DISPATCHER_TIMEOUT_MS_FIELD_NUMBER | |
| En t | HEARTBEAT_INTERVAL_MS_FIELD_NUMBER | |
| En t | PORT_FIELD_NUMBER | |
| En t | PROTOCOL_FIELD_NUMBER | |
| En t | WORKER_ADDRESS_FIELD_NUMBER |
Métodos públicos
| booleano | es igual a (Objeto obj) |
| ServiceConfig.WorkerConfig estático | |
| ServiceConfig.WorkerConfig | |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| Cuerda | 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 | getPort () The port for the worker to bind to. |
| Cuerda | getProtocol () 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. |
| En t | |
| final com.google.protobuf.UnknownFieldSet | |
| Cuerda | getWorkerAddress () The address of the worker server. |
| com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
| En t | hashCode () |
| booleano final | |
| ServiceConfig.WorkerConfig.Builder estático | newBuilder (prototipo ServiceConfig.WorkerConfig ) |
| ServiceConfig.WorkerConfig.Builder estático | newBuilder () |
| ServiceConfig.WorkerConfig.Builder | |
| ServiceConfig.WorkerConfig estático | parseDelimitedFrom (entrada InputStream) |
| ServiceConfig.WorkerConfig estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (datos ByteBuffer) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| ServiceConfig.WorkerConfig estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (datos com.google.protobuf.ByteString) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analizador () |
| ServiceConfig.WorkerConfig.Builder | toBuilder () |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int DISPATCHER_ADDRESS_FIELD_NUMBER
Valor constante: 3
public static final int DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
Valor constante: 6
público estático final int HEARTBEAT_INTERVAL_MS_FIELD_NUMBER
Valor constante: 5
public static final int PORT_FIELD_NUMBER
Valor constante: 1
public static final int PROTOCOL_FIELD_NUMBER
Valor constante: 2
public static final int WORKER_ADDRESS_FIELD_NUMBER
Valor constante: 4
Métodos públicos
public boolean es igual a (Object obj)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;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; público 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;getProtocol de cadena pública ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;public com.google.protobuf.ByteString getProtocolBytes ()
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 ()
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;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 int hashCode ()
public final boolean isInitialized ()
ServiceConfig.WorkerConfig.Builder estático público newBuilder (prototipo ServiceConfig.WorkerConfig )
public static ServiceConfig.WorkerConfig parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (datos ByteBuffer)
Lanza
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
| IOException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (datos de com.google.protobuf.ByteString)
Lanza
| InvalidProtocolBufferException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
ServiceConfig.WorkerConfig estático público parseFrom (datos de com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOException |
|---|