الفئة النهائية العامة الثابتة ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.نوع Protobuf
tensorflow.data.experimental.WorkerConfig
الأساليب العامة
ServiceConfig.WorkerConfig.Builder | addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن) |
ServiceConfig.WorkerConfig | يبني () |
ServiceConfig.WorkerConfig | بناء جزئي () |
ServiceConfig.WorkerConfig.Builder | واضح () |
ServiceConfig.WorkerConfig.Builder | ClearDispatcherAddress () 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) |
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 | كليربورت () The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | بروتوكول واضح () The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | عنوان واضح للعمل () The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | استنساخ () |
ServiceConfig.WorkerConfig | |
النهائي الثابت com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
خيط | الحصول على عنوان المرسل () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | الحصول على DispatcherAddressBytes () The address of the dispatcher to register with. |
طويل | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
طويل | الحصول على HeartbeatIntervalMs () How often the worker should heartbeat to the master. |
طويل | الحصول على المنفذ () The port for the worker to bind to. |
خيط | بروتوكول الحصول على () The protocol for the worker to use when connecting to the dispatcher. |
com.google.protobuf.ByteString | الحصول على بروتوكول بايت () The protocol for the worker to use when connecting to the dispatcher. |
خيط | الحصول على عنوان العمل () The address of the worker server. |
com.google.protobuf.ByteString | الحصول على WorkerAddressBytes () The address of the worker server. |
منطقية نهائية | تمت التهيئة () |
ServiceConfig.WorkerConfig.Builder | دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.WorkerConfig.Builder | دمج من (com.google.protobuf.Message أخرى) |
النهائي ServiceConfig.WorkerConfig.Builder | دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (قيمة السلسلة) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (قيمة com.google.protobuf.ByteString) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (قيمة طويلة) How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | setField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (قيمة طويلة) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (قيمة طويلة) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (قيمة السلسلة) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (قيمة com.google.protobuf.ByteString) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، فهرس int، قيمة الكائن) |
النهائي ServiceConfig.WorkerConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (قيمة السلسلة) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (قيمة com.google.protobuf.ByteString) The address of the worker server. |
الطرق الموروثة
الأساليب العامة
public ServiceConfig.WorkerConfig.Builder addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)
الخدمة العامةConfig.WorkerConfig.Builder ClearDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
الخدمة العامةConfig.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)
الخدمة العامةConfig.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)
الخدمة العامةConfig.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;
الخدمة العامةConfig.WorkerConfig.Builder ClearProtocol ()
بروتوكول سلسلة
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
الخدمة العامةConfig.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;
النهائي العام الثابت com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType () العام
سلسلة getDispatcherAddress () العامة
The address of the dispatcher to register with.
string dispatcher_address = 3;
com.google.protobuf.ByteString العامة getDispatcherAddressBytes ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
getDispatcherTimeoutMs () العامة الطويلة
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
getHeartbeatIntervalMs العامة الطويلة ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
منفذ 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;
سلسلة getProtocol العامة ()
بروتوكول سلسلة
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
com.google.protobuf.ByteString getProtocolBytes () العام
بروتوكول سلسلة
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
سلسلة 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;
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 ServiceConfig.WorkerConfig.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
الخدمة النهائية العامة ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (قيمة السلسلة)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (قيمة com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (قيمة طويلة)
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، قيمة الكائن)
ServiceConfig.WorkerConfig.Builder العامة setHeartbeatIntervalMs (قيمة طويلة)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (قيمة طويلة)
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 (قيمة السلسلة)
بروتوكول سلسلة
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (قيمة com.google.protobuf.ByteString)
بروتوكول سلسلة
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، مؤشر int، قيمة الكائن)
الخدمة النهائية العامة ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (قيمة السلسلة)
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)
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;