genel statik son sınıf ServiceConfig.WorkerConfig
Configuration for a tf.data service WorkerServer.Protobuf türü
tensorflow.data.experimental.WorkerConfig
İç İçe Sınıflar
sınıf | ServiceConfig.WorkerConfig.Builder | Configuration for a tf.data service WorkerServer. |
Sabitler
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 |
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
statik ServiceConfig.WorkerConfig | |
ServiceConfig.WorkerConfig | |
final statik com.google.protobuf.Descriptors.Descriptor | |
Sicim | getDispatcherAddress () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
uzun | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
uzun | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
uzun | getPort () The port for the worker to bind to. |
Sicim | getProtokol () 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 | |
Sicim | getWorkerAddress () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
int | hash kodu () |
son boole değeri | Başlatıldı () |
statik ServiceConfig.WorkerConfig.Builder | newBuilder ( ServiceConfig.WorkerConfig prototipi) |
statik ServiceConfig.WorkerConfig.Builder | yeniİnşaatçı () |
ServiceConfig.WorkerConfig.Builder | |
statik ServiceConfig.WorkerConfig | parseDelimitedFrom (InputStream girişi) |
statik ServiceConfig.WorkerConfig | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.WorkerConfig | parseFrom (ByteBuffer verileri) |
statik ServiceConfig.WorkerConfig | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.WorkerConfig | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.WorkerConfig | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik ServiceConfig.WorkerConfig | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.WorkerConfig | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik ServiceConfig.WorkerConfig | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik ServiceConfig.WorkerConfig | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
ServiceConfig.WorkerConfig.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int DISPATCHER_ADDRESS_FIELD_NUMBER
Sabit Değer: 3
genel statik final int DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
Sabit Değer: 6
genel statik final int HEARTBEAT_INTERVAL_MS_FIELD_NUMBER
Sabit Değer: 5
genel statik final int PORT_FIELD_NUMBER
Sabit Değer: 1
genel statik final int PROTOCOL_FIELD_NUMBER
Sabit Değer: 2
genel statik final int WORKER_ADDRESS_FIELD_NUMBER
Sabit Değer: 4
Genel Yöntemler
genel boole eşittir (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;
genel uzun getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
halka açık uzun getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
halk getParserForType ()
halka açık uzun 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;
genel Dize getProtocol ()
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 ()
genel 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;
genel int hashCode ()
genel final boolean isInitialized ()
public static ServiceConfig.WorkerConfig parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik ServiceConfig.WorkerConfig parseFrom (ByteBuffer verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
public static ServiceConfig.WorkerConfig parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IO İstisnası |
---|
genel statik ServiceConfig.WorkerConfig ayrıştırmaFrom (bayt[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static ServiceConfig.WorkerConfig parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik ServiceConfig.WorkerConfig parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IO İstisnası |
---|