public static final class
RemoteProfilerSessionManagerOptions.Builder
Options for remote profiler session manager. Next ID: 6
tensorflow.RemoteProfilerSessionManagerOptions
Public Methods
RemoteProfilerSessionManagerOptions.Builder |
addAllServiceAddresses(Iterable<String> values)
List of servers to profile. |
RemoteProfilerSessionManagerOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
RemoteProfilerSessionManagerOptions.Builder |
addServiceAddresses(String value)
List of servers to profile. |
RemoteProfilerSessionManagerOptions.Builder |
addServiceAddressesBytes(com.google.protobuf.ByteString value)
List of servers to profile. |
RemoteProfilerSessionManagerOptions |
build()
|
RemoteProfilerSessionManagerOptions | |
RemoteProfilerSessionManagerOptions.Builder |
clear()
|
RemoteProfilerSessionManagerOptions.Builder |
clearDelayMs()
Start of profiling is delayed by this much (in milliseconds). |
RemoteProfilerSessionManagerOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
RemoteProfilerSessionManagerOptions.Builder |
clearMaxSessionDurationMs()
Maximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request. |
RemoteProfilerSessionManagerOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
RemoteProfilerSessionManagerOptions.Builder |
clearProfilerOptions()
Options for each local profiler. |
RemoteProfilerSessionManagerOptions.Builder |
clearServiceAddresses()
List of servers to profile. |
RemoteProfilerSessionManagerOptions.Builder |
clearSessionCreationTimestampNs()
Unix timestamp of when the session was started. |
RemoteProfilerSessionManagerOptions.Builder |
clone()
|
RemoteProfilerSessionManagerOptions | |
long |
getDelayMs()
Start of profiling is delayed by this much (in milliseconds). |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
long |
getMaxSessionDurationMs()
Maximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request. |
ProfileOptions |
getProfilerOptions()
Options for each local profiler. |
ProfileOptions.Builder |
getProfilerOptionsBuilder()
Options for each local profiler. |
ProfileOptionsOrBuilder |
getProfilerOptionsOrBuilder()
Options for each local profiler. |
String |
getServiceAddresses(int index)
List of servers to profile. |
com.google.protobuf.ByteString |
getServiceAddressesBytes(int index)
List of servers to profile. |
int |
getServiceAddressesCount()
List of servers to profile. |
com.google.protobuf.ProtocolStringList |
getServiceAddressesList()
List of servers to profile. |
long |
getSessionCreationTimestampNs()
Unix timestamp of when the session was started. |
boolean |
hasProfilerOptions()
Options for each local profiler. |
final boolean | |
RemoteProfilerSessionManagerOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
RemoteProfilerSessionManagerOptions.Builder |
mergeFrom(com.google.protobuf.Message other)
|
RemoteProfilerSessionManagerOptions.Builder | |
final RemoteProfilerSessionManagerOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
RemoteProfilerSessionManagerOptions.Builder |
setDelayMs(long value)
Start of profiling is delayed by this much (in milliseconds). |
RemoteProfilerSessionManagerOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
RemoteProfilerSessionManagerOptions.Builder |
setMaxSessionDurationMs(long value)
Maximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request. |
RemoteProfilerSessionManagerOptions.Builder | |
RemoteProfilerSessionManagerOptions.Builder | |
RemoteProfilerSessionManagerOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
RemoteProfilerSessionManagerOptions.Builder |
setServiceAddresses(int index, String value)
List of servers to profile. |
RemoteProfilerSessionManagerOptions.Builder |
setSessionCreationTimestampNs(long value)
Unix timestamp of when the session was started. |
final RemoteProfilerSessionManagerOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public RemoteProfilerSessionManagerOptions.Builder addAllServiceAddresses (Iterable<String> values)
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public RemoteProfilerSessionManagerOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public RemoteProfilerSessionManagerOptions.Builder addServiceAddresses (String value)
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public RemoteProfilerSessionManagerOptions.Builder addServiceAddressesBytes (com.google.protobuf.ByteString value)
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public RemoteProfilerSessionManagerOptions.Builder clearDelayMs ()
Start of profiling is delayed by this much (in milliseconds).
uint64 delay_ms = 5;
public RemoteProfilerSessionManagerOptions.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
public RemoteProfilerSessionManagerOptions.Builder clearMaxSessionDurationMs ()
Maximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request. If value is 0, session continues until interrupted. Otherwise, value must be greater than profiler_options.duration_ms.
uint64 max_session_duration_ms = 4;
public RemoteProfilerSessionManagerOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public RemoteProfilerSessionManagerOptions.Builder clearProfilerOptions ()
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public RemoteProfilerSessionManagerOptions.Builder clearServiceAddresses ()
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public RemoteProfilerSessionManagerOptions.Builder clearSessionCreationTimestampNs ()
Unix timestamp of when the session was started.
uint64 session_creation_timestamp_ns = 3;
public long getDelayMs ()
Start of profiling is delayed by this much (in milliseconds).
uint64 delay_ms = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public long getMaxSessionDurationMs ()
Maximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request. If value is 0, session continues until interrupted. Otherwise, value must be greater than profiler_options.duration_ms.
uint64 max_session_duration_ms = 4;
public ProfileOptions getProfilerOptions ()
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public ProfileOptions.Builder getProfilerOptionsBuilder ()
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public ProfileOptionsOrBuilder getProfilerOptionsOrBuilder ()
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public String getServiceAddresses (int index)
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public com.google.protobuf.ByteString getServiceAddressesBytes (int index)
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public int getServiceAddressesCount ()
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public com.google.protobuf.ProtocolStringList getServiceAddressesList ()
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public long getSessionCreationTimestampNs ()
Unix timestamp of when the session was started.
uint64 session_creation_timestamp_ns = 3;
public boolean hasProfilerOptions ()
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public final boolean isInitialized ()
public RemoteProfilerSessionManagerOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public RemoteProfilerSessionManagerOptions.Builder mergeProfilerOptions (ProfileOptions value)
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public final RemoteProfilerSessionManagerOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public RemoteProfilerSessionManagerOptions.Builder setDelayMs (long value)
Start of profiling is delayed by this much (in milliseconds).
uint64 delay_ms = 5;
public RemoteProfilerSessionManagerOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public RemoteProfilerSessionManagerOptions.Builder setMaxSessionDurationMs (long value)
Maximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request. If value is 0, session continues until interrupted. Otherwise, value must be greater than profiler_options.duration_ms.
uint64 max_session_duration_ms = 4;
public RemoteProfilerSessionManagerOptions.Builder setProfilerOptions (ProfileOptions.Builder builderForValue)
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public RemoteProfilerSessionManagerOptions.Builder setProfilerOptions (ProfileOptions value)
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;
public RemoteProfilerSessionManagerOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public RemoteProfilerSessionManagerOptions.Builder setServiceAddresses (int index, String value)
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;
public RemoteProfilerSessionManagerOptions.Builder setSessionCreationTimestampNs (long value)
Unix timestamp of when the session was started.
uint64 session_creation_timestamp_ns = 3;