genel statik son sınıf ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.Protobuf türü
tensorflow.data.experimental.WorkerConfig
Genel Yöntemler
ServiceConfig.WorkerConfig.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ServiceConfig.WorkerConfig | inşa etmek () |
ServiceConfig.WorkerConfig | inşaKısmi () |
ServiceConfig.WorkerConfig.Builder | temizlemek () |
ServiceConfig.WorkerConfig.Builder | clearDispatcherAdresi () The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | clearDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
ServiceConfig.WorkerConfig.Builder | clearHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceConfig.WorkerConfig.Builder | clearPort () The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | clearProtocol () The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | clearWorkerAdresi () The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | klon () |
ServiceConfig.WorkerConfig | |
final statik com.google.protobuf.Descriptors.Descriptor | |
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. |
Sicim | getWorkerAddress () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
son boole değeri | Başlatıldı () |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Message other) |
final ServiceConfig.WorkerConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (Dize değeri) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (com.google.protobuf.ByteString değeri) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (uzun değer) How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (uzun değer) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (uzun değer) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (Dize değeri) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (com.google.protobuf.ByteString değeri) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
final ServiceConfig.WorkerConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (Dize değeri) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (com.google.protobuf.ByteString değeri) The address of the worker server. |
Kalıtsal Yöntemler
Genel Yöntemler
public ServiceConfig.WorkerConfig.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public ServiceConfig.WorkerConfig.Builder clearDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder clearDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
public ServiceConfig.WorkerConfig.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı)
public ServiceConfig.WorkerConfig.Builder clearHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public ServiceConfig.WorkerConfig.Builder clearPort ()
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 ServiceConfig.WorkerConfig.Builder clearProtocol ()
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder clearWorkerAddress ()
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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
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 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 final boolean isInitialized ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel final ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (Dize değeri)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (com.google.protobuf.ByteString değeri)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (uzun değer)
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
public ServiceConfig.WorkerConfig.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (uzun değer)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (uzun değer)
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 ServiceConfig.WorkerConfig.Builder setProtocol (Dize değeri)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (com.google.protobuf.ByteString değeri)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
genel final ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (Dize değeri)
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 ServiceConfig.WorkerConfig.Builder setWorkerAddressBytes (com.google.protobuf.ByteString değeri)
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;