lớp cuối cùng tĩnh công khai ServiceConfig.WorkerConfig
Configuration for a tf.data service WorkerServer.Loại Protobuf
tensorflow.data.experimental.WorkerConfig
Các lớp lồng nhau
lớp học | ServiceConfig.WorkerConfig.Builder | Configuration for a tf.data service WorkerServer. |
Hằng số
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 | CÔNG NHÂN_ADDRESS_FIELD_NUMBER |
Phương pháp công khai
boolean | bằng (Đối tượng obj) |
ServiceConfig.WorkerConfig tĩnh | |
ServiceConfig.WorkerConfig | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
Sợi dây | getDispatcherAddress () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
dài | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
dài | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
dài | getPort () The port for the worker to bind to. |
Sợi dây | 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 | |
com.google.protobuf.UnknownFieldSet cuối cùng | |
Sợi dây | getWorkerAddress () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
int | Mã Băm () |
boolean cuối cùng | |
ServiceConfig.WorkerConfig.Builder tĩnh | newBuilder ( nguyên mẫu ServiceConfig.WorkerConfig ) |
ServiceConfig.WorkerConfig.Builder tĩnh | |
ServiceConfig.WorkerConfig.Builder | |
ServiceConfig.WorkerConfig tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào) |
ServiceConfig.WorkerConfig tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry) |
ServiceConfig.WorkerConfig tĩnh | ParseFrom (dữ liệu ByteBuffer) |
ServiceConfig.WorkerConfig tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.WorkerConfig tĩnh | ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.WorkerConfig tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream) |
ServiceConfig.WorkerConfig tĩnh | ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.WorkerConfig tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString) |
ServiceConfig.WorkerConfig tĩnh | ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.WorkerConfig tĩnh | ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
tĩnh | |
ServiceConfig.WorkerConfig.Builder | toBuilder () |
trống rỗng | writeTo (đầu ra com.google.protobuf.CodedOutputStream) |
Phương pháp kế thừa
Hằng số
int cuối cùng tĩnh công khai DISPATCHER_ADDRESS_FIELD_NUMBER
Giá trị không đổi: 3
int cuối cùng tĩnh công khai DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
Giá trị không đổi: 6
int cuối cùng tĩnh công khai HEARTBEAT_INTERVAL_MS_FIELD_NUMBER
Giá trị không đổi: 5
int cuối cùng tĩnh công khai PORT_FIELD_NUMBER
Giá trị không đổi: 1
int cuối cùng tĩnh công khai PROTOCOL_FIELD_NUMBER
Giá trị không đổi: 2
int tĩnh công khai WORKER_ADDRESS_FIELD_NUMBER
Giá trị không đổi: 4
Phương pháp công khai
boolean công khai bằng (Object obj)
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
Chuỗi công khai getDispatcherAddress ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
com.google.protobuf.ByteString getDispatcherAddressBytes công khai ()
The address of the dispatcher to register with.
string dispatcher_address = 3;
công khai getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
công khai getHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
công cộng getParserForType ()
getPort dài công khai ()
cổng
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;
Chuỗi công khai getProtocol ()
giao thức chuỗi
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
com.google.protobuf.ByteString getProtocolBytes công khai ()
giao thức chuỗi
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
int công khai getSerializedSize ()
trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()
Chuỗi công khai 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 công khai 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;
mã băm int công khai ()
boolean cuối cùng công khai được khởi tạo ()
public static ServiceConfig.WorkerConfig.Builder newBuilder ( nguyên mẫu ServiceConfig.WorkerConfig )
public static ServiceConfig.WorkerConfig ParseDelimitedFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
public static ServiceConfig.WorkerConfig parsFrom (dữ liệu ByteBuffer)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
public static ServiceConfig.WorkerConfig parsFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
public static ServiceConfig.WorkerConfig parsFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
public static ServiceConfig.WorkerConfig parsFrom (đầu vào com.google.protobuf.CodedInputStream)
Ném
IOException |
---|
tĩnh công khai ServiceConfig.WorkerConfig phân tích cú phápFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
public static ServiceConfig.WorkerConfig parsFrom (dữ liệu com.google.protobuf.ByteString)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
public static ServiceConfig.WorkerConfig parsFrom (Đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
public static ServiceConfig.WorkerConfig parsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
Giao thức đệm ngoại lệ không hợp lệ |
---|
công cộng tĩnh trình phân tích cú pháp ()
public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)
Ném
IOException |
---|