Class ProfilerOptions.RemoteProfilerSessionManagerOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.ProfilerOptions.RemoteProfilerSessionManagerOptions
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, ProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder
- Enclosing class:
ProfilerOptions
public static final class ProfilerOptions.RemoteProfilerSessionManagerOptions
extends GeneratedMessageV3
implements ProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder
Options for remote profiler session manager. Next ID: 6Protobuf type
tensorflow.RemoteProfilerSessionManagerOptions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOptions for remote profiler session manager.Nested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongStart of profiling is delayed by this much (in milliseconds).static final Descriptors.DescriptorlongMaximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request.Options for each local profiler.Options for each local profiler.intgetServiceAddresses(int index) List of servers to profile.getServiceAddressesBytes(int index) List of servers to profile.intList of servers to profile.List of servers to profile.longUnix timestamp of when the session was started.final UnknownFieldSetinthashCode()booleanOptions for each local profiler.protected GeneratedMessageV3.FieldAccessorTablefinal booleanprotected ObjectparseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom(ByteString data) parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom(CodedInputStream input) parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
PROFILER_OPTIONS_FIELD_NUMBER
public static final int PROFILER_OPTIONS_FIELD_NUMBER- See Also:
-
SERVICE_ADDRESSES_FIELD_NUMBER
public static final int SERVICE_ADDRESSES_FIELD_NUMBER- See Also:
-
SESSION_CREATION_TIMESTAMP_NS_FIELD_NUMBER
public static final int SESSION_CREATION_TIMESTAMP_NS_FIELD_NUMBER- See Also:
-
MAX_SESSION_DURATION_MS_FIELD_NUMBER
public static final int MAX_SESSION_DURATION_MS_FIELD_NUMBER- See Also:
-
DELAY_MS_FIELD_NUMBER
public static final int DELAY_MS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
hasProfilerOptions
public boolean hasProfilerOptions()Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;- Specified by:
hasProfilerOptionsin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Returns:
- Whether the profilerOptions field is set.
-
getProfilerOptions
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;- Specified by:
getProfilerOptionsin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Returns:
- The profilerOptions.
-
getProfilerOptionsOrBuilder
Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;- Specified by:
getProfilerOptionsOrBuilderin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder
-
getServiceAddressesList
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;- Specified by:
getServiceAddressesListin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Returns:
- A list containing the serviceAddresses.
-
getServiceAddressesCount
public int getServiceAddressesCount()List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;- Specified by:
getServiceAddressesCountin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Returns:
- The count of serviceAddresses.
-
getServiceAddresses
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;- Specified by:
getServiceAddressesin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serviceAddresses at the given index.
-
getServiceAddressesBytes
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;- Specified by:
getServiceAddressesBytesin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serviceAddresses at the given index.
-
getSessionCreationTimestampNs
public long getSessionCreationTimestampNs()Unix timestamp of when the session was started.
uint64 session_creation_timestamp_ns = 3;- Specified by:
getSessionCreationTimestampNsin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Returns:
- The sessionCreationTimestampNs.
-
getMaxSessionDurationMs
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;- Specified by:
getMaxSessionDurationMsin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Returns:
- The maxSessionDurationMs.
-
getDelayMs
public long getDelayMs()Start of profiling is delayed by this much (in milliseconds).
uint64 delay_ms = 5;- Specified by:
getDelayMsin interfaceProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder- Returns:
- The delayMs.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ProfilerOptions.RemoteProfilerSessionManagerOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
public static ProfilerOptions.RemoteProfilerSessionManagerOptions.Builder newBuilder(ProfilerOptions.RemoteProfilerSessionManagerOptions prototype) -
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected ProfilerOptions.RemoteProfilerSessionManagerOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-