kelas akhir statis publik ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.Tipe protobuf
tensorflow.data.experimental.WorkerConfig
Metode Publik
ServiceConfig.WorkerConfig.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ServiceConfig.WorkerConfig | membangun () |
ServiceConfig.WorkerConfig | |
ServiceConfig.WorkerConfig.Builder | jernih () |
ServiceConfig.WorkerConfig.Builder | hapusAlamatPengirim () 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 (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
ServiceConfig.WorkerConfig.Builder | jelasHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor salah satu) |
ServiceConfig.WorkerConfig.Builder | bersihkanPort () The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | jelasProtokol () The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | jelasAlamatPekerja () The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | klon () |
ServiceConfig.WorkerConfig | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
Rangkaian | dapatkanDispatcherAddress () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | dapatkanDispatcherAddressBytes () The address of the dispatcher to register with. |
panjang | dapatkanDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
panjang | dapatkanHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
panjang | dapatkanPort () The port for the worker to bind to. |
Rangkaian | dapatkanProtokol () The protocol for the worker to use when connecting to the dispatcher. |
com.google.protobuf.ByteString | dapatkanProtocolBytes () The protocol for the worker to use when connecting to the dispatcher. |
Rangkaian | dapatkan Alamat Pekerja () The address of the worker server. |
com.google.protobuf.ByteString | dapatkanWorkerAddressBytes () The address of the worker server. |
boolean terakhir | |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
ServiceConfig.WorkerConfig.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (Nilai string) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (nilai com.google.protobuf.ByteString) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (nilai panjang) How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (nilai panjang) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (nilai panjang) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (Nilai string) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (nilai com.google.protobuf.ByteString) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
ServiceConfig.WorkerConfig.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (Nilai string) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (nilai com.google.protobuf.ByteString) The address of the worker server. |
Metode Warisan
Metode Publik
public ServiceConfig.WorkerConfig.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ServiceConfig.WorkerConfig.Builder publik clearDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
ServiceConfig.WorkerConfig.Builder publik 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 (bidang com.google.protobuf.Descriptors.FieldDescriptor)
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)
ServiceConfig.WorkerConfig.Builder clearPort () publik ()
port
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 ()
protokol string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
ServiceConfig.WorkerConfig.Builder publik 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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
String publik getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
publik com.google.protobuf.ByteString getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
getDispatcherTimeoutMs panjang publik ()
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;
getPort panjang publik ()
port
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 publik getProtokol ()
protokol string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
publik com.google.protobuf.ByteString getProtocolBytes ()
protokol string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
String publik 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;
publik 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;
boolean akhir publik diinisialisasi ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ServiceConfig.WorkerConfig.Builder mergeUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (Nilai string)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (nilai com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (nilai panjang)
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 (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (nilai panjang)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (nilai panjang)
port
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 (Nilai string)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (nilai com.google.protobuf.ByteString)
protokol string
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
ServiceConfig.WorkerConfig.Builder setUnknownFields akhir publik (com.google.protobuf.UnknownFieldSet unknownFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (Nilai string)
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 (nilai com.google.protobuf.ByteString)
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;