publiczna statyczna klasa końcowa ServiceConfig.WorkerConfig.Builder
Configuration for a tf.data service WorkerServer.Typ protobufa
tensorflow.data.experimental.WorkerConfig
Metody publiczne
ServiceConfig.WorkerConfig.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
ServiceConfig.WorkerConfig | zbudować () |
ServiceConfig.WorkerConfig | |
ServiceConfig.WorkerConfig.Builder | jasne () |
ServiceConfig.WorkerConfig.Builder | wyczyśćAdres Dyspozytora () 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 (pole com.google.protobuf.Descriptors.FieldDescriptor) |
ServiceConfig.WorkerConfig.Builder | wyczyść HeartbeatIntervalMs () How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceConfig.WorkerConfig.Builder | wyczyśćPort () The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | wyczyśćProtokół () The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | wyczyść adres pracownika () The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | klon () |
ServiceConfig.WorkerConfig | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Strunowy | pobierzAdres Dyspozytora () The address of the dispatcher to register with. |
com.google.protobuf.ByteString | getDispatcherAddressBytes () The address of the dispatcher to register with. |
długi | getDispatcherTimeoutMs () How long to retry requests to the dispatcher before giving up and reporting an error. |
długi | getHeartbeatIntervalMs () How often the worker should heartbeat to the master. |
długi | pobierzPort () The port for the worker to bind to. |
Strunowy | pobierz protokół () 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. |
Strunowy | getWorkerAddress () The address of the worker server. |
com.google.protobuf.ByteString | getWorkerAddressBytes () The address of the worker server. |
końcowa wartość logiczna | |
ServiceConfig.WorkerConfig.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ServiceConfig.WorkerConfig.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
końcowy ServiceConfig.WorkerConfig.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddress (wartość ciągu) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherAddressBytes (wartość com.google.protobuf.ByteString) The address of the dispatcher to register with. |
ServiceConfig.WorkerConfig.Builder | setDispatcherTimeoutMs (długa wartość) How long to retry requests to the dispatcher before giving up and reporting an error. |
ServiceConfig.WorkerConfig.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
ServiceConfig.WorkerConfig.Builder | setHeartbeatIntervalMs (długa wartość) How often the worker should heartbeat to the master. |
ServiceConfig.WorkerConfig.Builder | setPort (długa wartość) The port for the worker to bind to. |
ServiceConfig.WorkerConfig.Builder | setProtocol (wartość ciągu) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setProtocolBytes (wartość com.google.protobuf.ByteString) The protocol for the worker to use when connecting to the dispatcher. |
ServiceConfig.WorkerConfig.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
końcowy ServiceConfig.WorkerConfig.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
ServiceConfig.WorkerConfig.Builder | setWorkerAddress (wartość ciągu) The address of the worker server. |
ServiceConfig.WorkerConfig.Builder | setWorkerAddressBytes (wartość com.google.protobuf.ByteString) The address of the worker server. |
Metody dziedziczone
Metody publiczne
public ServiceConfig.WorkerConfig.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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 (pole com.google.protobuf.Descriptors.FieldDescriptor)
public ServiceConfig.WorkerConfig.Builder wyczyśćHeartbeatIntervalMs ()
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;
publiczny długi getDispatcherTimeoutMs ()
How long to retry requests to the dispatcher before giving up and reporting an error.
int64 dispatcher_timeout_ms = 6;
publiczne długie pobieranieHeartbeatIntervalMs ()
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
publiczny długi 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;
publiczny ciąg 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;
publiczny ciąg 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;
publiczna końcowa wartość logiczna isInitialized ()
public ServiceConfig.WorkerConfig.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczna wersja końcowa ServiceConfig.WorkerConfig.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.WorkerConfig.Builder setDispatcherAddress (wartość ciągu)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherAddressBytes (wartość com.google.protobuf.ByteString)
The address of the dispatcher to register with.
string dispatcher_address = 3;
public ServiceConfig.WorkerConfig.Builder setDispatcherTimeoutMs (długa wartość)
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 (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public ServiceConfig.WorkerConfig.Builder setHeartbeatIntervalMs (długa wartość)
How often the worker should heartbeat to the master.
int64 heartbeat_interval_ms = 5;
public ServiceConfig.WorkerConfig.Builder setPort (długa wartość)
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 (wartość ciągu)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setProtocolBytes (wartość com.google.protobuf.ByteString)
The protocol for the worker to use when connecting to the dispatcher.
string protocol = 2;
public ServiceConfig.WorkerConfig.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
publiczny końcowy ServiceConfig.WorkerConfig.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ServiceConfig.WorkerConfig.Builder setWorkerAddress (wartość ciągu)
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 (wartość 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;