공개 정적 최종 클래스 ServiceConfig.WorkerConfig
Configuration for a tf.data service WorkerServer.Protobuf 유형
tensorflow.data.experimental.WorkerConfig
중첩 클래스
수업 | ServiceConfig.WorkerConfig.Builder | Configuration for a tf.data service WorkerServer. |
상수
정수 | DISPATCHER_ADDRESS_FIELD_NUMBER | |
정수 | DISPATCHER_TIMEOUT_MS_FIELD_NUMBER | |
정수 | HEARTBEAT_INTERVAL_MS_FIELD_NUMBER | |
정수 | PORT_FIELD_NUMBER | |
정수 | PROTOCOL_FIELD_NUMBER | |
정수 | WORKER_ADDRESS_FIELD_NUMBER |
공개 방법
부울 | 같음 (객체 객체) |
정적 ServiceConfig.WorkerConfig | |
ServiceConfig.WorkerConfig | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
끈 | getDispatcher주소 () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
긴 | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
긴 | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
긴 | getPort () The port for the worker to bind to. |
끈 | get프로토콜 () 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. |
정수 | |
최종 com.google.protobuf.UnknownFieldSet | |
끈 | getWorker주소 () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
정수 | 해시 코드 () |
최종 부울 | 초기화됨 () |
정적 ServiceConfig.WorkerConfig.Builder | newBuilder ( ServiceConfig.WorkerConfig 프로토타입) |
정적 ServiceConfig.WorkerConfig.Builder | 새로운 빌더 () |
ServiceConfig.WorkerConfig.Builder | |
정적 ServiceConfig.WorkerConfig | parsDelimitedFrom (InputStream 입력) |
정적 ServiceConfig.WorkerConfig | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ServiceConfig.WorkerConfig | parsFrom (ByteBuffer 데이터) |
정적 ServiceConfig.WorkerConfig | ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ServiceConfig.WorkerConfig | ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ServiceConfig.WorkerConfig | ParseFrom (com.google.protobuf.CodedInputStream 입력) |
정적 ServiceConfig.WorkerConfig | parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry) |
정적 ServiceConfig.WorkerConfig | ParseFrom (com.google.protobuf.ByteString 데이터) |
정적 ServiceConfig.WorkerConfig | ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ServiceConfig.WorkerConfig | ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
공전 | 파서 () |
ServiceConfig.WorkerConfig.Builder | toBuilder () |
무효의 | writeTo (com.google.protobuf.CodedOutputStream 출력) |
상속된 메서드
상수
공개 정적 최종 int DISPATCHER_ADDRESS_FIELD_NUMBER
상수값: 3
공개 정적 최종 int DISPATCHER_TIMEOUT_MS_FIELD_NUMBER
상수값: 6
공개 정적 최종 int HEARTBEAT_INTERVAL_MS_FIELD_NUMBER
상수값: 5
공개 정적 최종 int PORT_FIELD_NUMBER
상수값: 1
공개 정적 최종 int PROTOCOL_FIELD_NUMBER
상수값: 2
공개 정적 최종 int WORKER_ADDRESS_FIELD_NUMBER
상수값: 4
공개 방법
공개 부울은 (객체 obj)와 같습니다 .
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 문자열 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;
공공의 getParserForType ()
공개 긴 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;
공개 int getSerializedSize ()
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 문자열 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;
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 ServiceConfig.WorkerConfigparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ServiceConfig.WorkerConfig parsFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ServiceConfig.WorkerConfig parsFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ServiceConfig.WorkerConfig parsFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ServiceConfig.WorkerConfig parsFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ServiceConfig.WorkerConfig parsFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|