classe final estática pública ServiceConfig.WorkerConfig
Configuration for a tf.data service WorkerServer.
tensorflow.data.experimental.WorkerConfig Classes aninhadas
| aula | ServiceConfig.WorkerConfig.Builder | Configuration for a tf.data service WorkerServer. | |
Constantes
| interno | DISPATCHER_ADDRESS_FIELD_NUMBER | |
| interno | DISPATCHER_TIMEOUT_MS_FIELD_NUMBER | |
| interno | HEARTBEAT_INTERVAL_MS_FIELD_NUMBER | |
| interno | PORT_FIELD_NUMBER | |
| interno | PROTOCOL_FIELD_NUMBER | |
| interno | WORKER_ADDRESS_FIELD_NUMBER |
Métodos Públicos
| booleano | é igual (objeto obj) |
| ServiceConfig.WorkerConfig estático | |
| ServiceConfig.WorkerConfig | |
| final estático com.google.protobuf.Descriptors.Descriptor | |
| Corda | getDispatcherAddress () The address of the dispatcher to register with. |
| com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
| longo | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
| longo | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
| longo | getPort () The port for the worker to bind to. |
| Corda | getProtocolo () 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. |
| interno | |
| final com.google.protobuf.UnknownFieldSet | |
| Corda | getWorkerAddress () The address of the worker server. |
| com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
| interno | código hash () |
| booleano final | |
| ServiceConfig.WorkerConfig.Builder estático | newBuilder (protótipo ServiceConfig.WorkerConfig ) |
| ServiceConfig.WorkerConfig.Builder estático | |
| 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 (dados de ByteBuffer) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| ServiceConfig.WorkerConfig estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (dados com.google.protobuf.ByteString) |
| ServiceConfig.WorkerConfig estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServiceConfig.WorkerConfig estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analisador () |
| ServiceConfig.WorkerConfig.Builder | |
| vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int DISPATCHER_ADDRESS_FIELD_NUMBER
Valor Constante: 3
público estático final int DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
Valor Constante: 6
público estático final int HEARTBEAT_INTERVAL_MS_FIELD_NUMBER
Valor Constante: 5
público estático final int PORT_FIELD_NUMBER
Valor Constante: 1
público estático final int PROTOCOL_FIELD_NUMBER
Valor Constante: 2
público estático final int WORKER_ADDRESS_FIELD_NUMBER
Valor Constante: 4
Métodos Públicos
booleano público é igual (Object obj)
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String 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; getDispatcherTimeoutMs () longo público
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6; público longo getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5; público getParserForType ()
getPort longo público ()
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; String pública getProtocol ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; público com.google.protobuf.ByteString getProtocolBytes ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2; público int getSerializedSize ()
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
String 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; hashCode int público ()
público final booleano isInitialized ()
public static ServiceConfig.WorkerConfig.Builder newBuilder ( protótipo ServiceConfig.WorkerConfig )
public static ServiceConfig.WorkerConfig parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (dados ByteBuffer)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (dados com.google.protobuf.ByteString)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
| IOException |
|---|