Class Xplane.XStat
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.profiler.Xplane.XStat
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, Xplane.XStatOrBuilder
- Enclosing class:
Xplane
An XStat is a named value associated with an XEvent, e.g., a performance counter value, a metric computed by a formula applied over nested XEvents and XStats. Next ID: 8Protobuf type
tensorflow.profiler.XStat- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn XStat is a named value associated with an XEvent, e.g., a performance counter value, a metric computed by a formula applied over nested XEvents and XStats.static enumNested 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 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 TypeMethodDescriptionbooleanbytes bytes_value = 6;static Xplane.XStatstatic final Descriptors.Descriptordoubledouble double_value = 2;longint64 int64_value = 4;longXStatMetadata.id of corresponding metadata.longA string value that stored in XStatMetadata::name.intstring str_value = 5;string str_value = 5;longuint64 uint64_value = 3;final UnknownFieldSetbooleanbytes bytes_value = 6;booleandouble double_value = 2;inthashCode()booleanint64 int64_value = 4;booleanA string value that stored in XStatMetadata::name.booleanstring str_value = 5;booleanuint64 uint64_value = 3;protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Xplane.XStat.Builderstatic Xplane.XStat.BuildernewBuilder(Xplane.XStat prototype) protected Xplane.XStat.Builderprotected Objectstatic Xplane.XStatparseDelimitedFrom(InputStream input) static Xplane.XStatparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XStatparseFrom(byte[] data) static Xplane.XStatparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static Xplane.XStatparseFrom(ByteString data) static Xplane.XStatparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static Xplane.XStatparseFrom(CodedInputStream input) static Xplane.XStatparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XStatparseFrom(InputStream input) static Xplane.XStatparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XStatparseFrom(ByteBuffer data) static Xplane.XStatparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<Xplane.XStat> 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
-
METADATA_ID_FIELD_NUMBER
public static final int METADATA_ID_FIELD_NUMBER- See Also:
-
DOUBLE_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER- See Also:
-
UINT64_VALUE_FIELD_NUMBER
public static final int UINT64_VALUE_FIELD_NUMBER- See Also:
-
INT64_VALUE_FIELD_NUMBER
public static final int INT64_VALUE_FIELD_NUMBER- See Also:
-
STR_VALUE_FIELD_NUMBER
public static final int STR_VALUE_FIELD_NUMBER- See Also:
-
BYTES_VALUE_FIELD_NUMBER
public static final int BYTES_VALUE_FIELD_NUMBER- See Also:
-
REF_VALUE_FIELD_NUMBER
public static final int REF_VALUE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getValueCase
- Specified by:
getValueCasein interfaceXplane.XStatOrBuilder
-
getMetadataId
public long getMetadataId()XStatMetadata.id of corresponding metadata.
int64 metadata_id = 1;- Specified by:
getMetadataIdin interfaceXplane.XStatOrBuilder- Returns:
- The metadataId.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 2;- Specified by:
hasDoubleValuein interfaceXplane.XStatOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 2;- Specified by:
getDoubleValuein interfaceXplane.XStatOrBuilder- Returns:
- The doubleValue.
-
hasUint64Value
public boolean hasUint64Value()uint64 uint64_value = 3;- Specified by:
hasUint64Valuein interfaceXplane.XStatOrBuilder- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
public long getUint64Value()uint64 uint64_value = 3;- Specified by:
getUint64Valuein interfaceXplane.XStatOrBuilder- Returns:
- The uint64Value.
-
hasInt64Value
public boolean hasInt64Value()int64 int64_value = 4;- Specified by:
hasInt64Valuein interfaceXplane.XStatOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()int64 int64_value = 4;- Specified by:
getInt64Valuein interfaceXplane.XStatOrBuilder- Returns:
- The int64Value.
-
hasStrValue
public boolean hasStrValue()string str_value = 5;- Specified by:
hasStrValuein interfaceXplane.XStatOrBuilder- Returns:
- Whether the strValue field is set.
-
getStrValue
string str_value = 5;- Specified by:
getStrValuein interfaceXplane.XStatOrBuilder- Returns:
- The strValue.
-
getStrValueBytes
string str_value = 5;- Specified by:
getStrValueBytesin interfaceXplane.XStatOrBuilder- Returns:
- The bytes for strValue.
-
hasBytesValue
public boolean hasBytesValue()bytes bytes_value = 6;- Specified by:
hasBytesValuein interfaceXplane.XStatOrBuilder- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
bytes bytes_value = 6;- Specified by:
getBytesValuein interfaceXplane.XStatOrBuilder- Returns:
- The bytesValue.
-
hasRefValue
public boolean hasRefValue()A string value that stored in XStatMetadata::name.
uint64 ref_value = 7;- Specified by:
hasRefValuein interfaceXplane.XStatOrBuilder- Returns:
- Whether the refValue field is set.
-
getRefValue
public long getRefValue()A string value that stored in XStatMetadata::name.
uint64 ref_value = 7;- Specified by:
getRefValuein interfaceXplane.XStatOrBuilder- Returns:
- The refValue.
-
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
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XStat parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XStat parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XStat parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XStat parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Xplane.XStat parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XStat parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- 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
-