classe final estática pública ServiceConfig.WorkerConfig
Configuration for a tf.data service WorkerServer.
tensorflow.data.experimental.WorkerConfig tipo tensorflow.data.experimental.WorkerConfig Classes aninhadas
| aula | 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étodos Públicos
| boleano | igual a (objeto obj) |
| static ServiceConfig.WorkerConfig | |
| ServiceConfig.WorkerConfig | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| Fragmento | 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. |
| Fragmento | 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. |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| Fragmento | getWorkerAddress () The address of the worker server. |
| com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
| int | hashCode () |
| final booleano | |
| static ServiceConfig.WorkerConfig.Builder | newBuilder (protótipo ServiceConfig.WorkerConfig ) |
| static ServiceConfig.WorkerConfig.Builder | newBuilder () |
| ServiceConfig.WorkerConfig.Builder | |
| static ServiceConfig.WorkerConfig | parseDelimitedFrom (input InputStream) |
| static ServiceConfig.WorkerConfig | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ServiceConfig.WorkerConfig | parseFrom (dados ByteBuffer) |
| static ServiceConfig.WorkerConfig | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ServiceConfig.WorkerConfig | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ServiceConfig.WorkerConfig | parseFrom (com.google.protobuf.CodedInputStream input) |
| static ServiceConfig.WorkerConfig | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ServiceConfig.WorkerConfig | parseFrom (com.google.protobuf.ByteString data) |
| static ServiceConfig.WorkerConfig | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ServiceConfig.WorkerConfig | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analisador () |
| ServiceConfig.WorkerConfig.Builder | toBuilder () |
| vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int DISPATCHER_ADDRESS_FIELD_NUMBER
Valor Constante: 3
public static final int DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
Valor constante: 6
public static 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 equals (Object obj)
public static 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;public String getProtocol ()
Protocolo de string protocol = 2;
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;public com.google.protobuf.ByteString getProtocolBytes ()
Protocolo de string protocol = 2;
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 ()
public static ServiceConfig.WorkerConfig parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (dados ByteBuffer)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.CodedInputStream input)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.ByteString data)
Lança
| InvalidProtocolBufferException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.ByteString data, 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 |
|---|