Class Mapping
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.opentelemetry.proto.profiles.v1experimental.Mapping
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MappingOrBuilder,Serializable
public final class Mapping
extends com.google.protobuf.GeneratedMessageV3
implements MappingOrBuilder
Describes the mapping of a binary in memory, including its address range, file offset, and metadata like build IDProtobuf type
opentelemetry.proto.profiles.v1experimental.Mapping- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes the mapping of a binary in memory, including its address range, file offset, and metadata like build IDNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetAttributes(int index) References to attributes in Profile.attribute_table.intReferences to attributes in Profile.attribute_table.References to attributes in Profile.attribute_table.longA string that uniquely identifies a particular program version with high probability.Specifies the kind of build id.intSpecifies the kind of build id.static Mappingstatic final com.google.protobuf.Descriptors.DescriptorlongThe object this entry is loaded from.longOffset in the binary that corresponds to the first mapped address.booleanbool has_filenames = 8;booleanThe following fields indicate the resolution of symbolic info.booleanbool has_inline_frames = 10;booleanbool has_line_numbers = 9;longgetId()Unique nonzero id for the mapping.longThe limit of the address range occupied by this mapping.longAddress at which the binary (or DLL) is loaded into memory.com.google.protobuf.Parser<Mapping>intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Mapping.Builderstatic Mapping.BuildernewBuilder(Mapping prototype) protected Mapping.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MappingparseDelimitedFrom(InputStream input) static MappingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MappingparseFrom(byte[] data) static MappingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MappingparseFrom(com.google.protobuf.ByteString data) static MappingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MappingparseFrom(com.google.protobuf.CodedInputStream input) static MappingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MappingparseFrom(InputStream input) static MappingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MappingparseFrom(ByteBuffer data) static MappingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Mapping>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
MEMORY_START_FIELD_NUMBER
public static final int MEMORY_START_FIELD_NUMBER- See Also:
-
MEMORY_LIMIT_FIELD_NUMBER
public static final int MEMORY_LIMIT_FIELD_NUMBER- See Also:
-
FILE_OFFSET_FIELD_NUMBER
public static final int FILE_OFFSET_FIELD_NUMBER- See Also:
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER- See Also:
-
BUILD_ID_FIELD_NUMBER
public static final int BUILD_ID_FIELD_NUMBER- See Also:
-
BUILD_ID_KIND_FIELD_NUMBER
public static final int BUILD_ID_KIND_FIELD_NUMBER- See Also:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
HAS_FUNCTIONS_FIELD_NUMBER
public static final int HAS_FUNCTIONS_FIELD_NUMBER- See Also:
-
HAS_FILENAMES_FIELD_NUMBER
public static final int HAS_FILENAMES_FIELD_NUMBER- See Also:
-
HAS_LINE_NUMBERS_FIELD_NUMBER
public static final int HAS_LINE_NUMBERS_FIELD_NUMBER- See Also:
-
HAS_INLINE_FRAMES_FIELD_NUMBER
public static final int HAS_INLINE_FRAMES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getId
public long getId()Unique nonzero id for the mapping. [deprecated]
uint64 id = 1;- Specified by:
getIdin interfaceMappingOrBuilder- Returns:
- The id.
-
getMemoryStart
public long getMemoryStart()Address at which the binary (or DLL) is loaded into memory.
uint64 memory_start = 2;- Specified by:
getMemoryStartin interfaceMappingOrBuilder- Returns:
- The memoryStart.
-
getMemoryLimit
public long getMemoryLimit()The limit of the address range occupied by this mapping.
uint64 memory_limit = 3;- Specified by:
getMemoryLimitin interfaceMappingOrBuilder- Returns:
- The memoryLimit.
-
getFileOffset
public long getFileOffset()Offset in the binary that corresponds to the first mapped address.
uint64 file_offset = 4;- Specified by:
getFileOffsetin interfaceMappingOrBuilder- Returns:
- The fileOffset.
-
getFilename
public long getFilename()The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".
int64 filename = 5;- Specified by:
getFilenamein interfaceMappingOrBuilder- Returns:
- The filename.
-
getBuildId
public long getBuildId()A string that uniquely identifies a particular program version with high probability. E.g., for binaries generated by GNU tools, it could be the contents of the .note.gnu.build-id field.
int64 build_id = 6;- Specified by:
getBuildIdin interfaceMappingOrBuilder- Returns:
- The buildId.
-
getBuildIdKindValue
public int getBuildIdKindValue()Specifies the kind of build id. See BuildIdKind enum for more details [optional]
.opentelemetry.proto.profiles.v1experimental.BuildIdKind build_id_kind = 11;- Specified by:
getBuildIdKindValuein interfaceMappingOrBuilder- Returns:
- The enum numeric value on the wire for buildIdKind.
-
getBuildIdKind
Specifies the kind of build id. See BuildIdKind enum for more details [optional]
.opentelemetry.proto.profiles.v1experimental.BuildIdKind build_id_kind = 11;- Specified by:
getBuildIdKindin interfaceMappingOrBuilder- Returns:
- The buildIdKind.
-
getAttributesList
References to attributes in Profile.attribute_table. [optional]
repeated uint64 attributes = 12;- Specified by:
getAttributesListin interfaceMappingOrBuilder- Returns:
- A list containing the attributes.
-
getAttributesCount
public int getAttributesCount()References to attributes in Profile.attribute_table. [optional]
repeated uint64 attributes = 12;- Specified by:
getAttributesCountin interfaceMappingOrBuilder- Returns:
- The count of attributes.
-
getAttributes
public long getAttributes(int index) References to attributes in Profile.attribute_table. [optional]
repeated uint64 attributes = 12;- Specified by:
getAttributesin interfaceMappingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The attributes at the given index.
-
getHasFunctions
public boolean getHasFunctions()The following fields indicate the resolution of symbolic info.
bool has_functions = 7;- Specified by:
getHasFunctionsin interfaceMappingOrBuilder- Returns:
- The hasFunctions.
-
getHasFilenames
public boolean getHasFilenames()bool has_filenames = 8;- Specified by:
getHasFilenamesin interfaceMappingOrBuilder- Returns:
- The hasFilenames.
-
getHasLineNumbers
public boolean getHasLineNumbers()bool has_line_numbers = 9;- Specified by:
getHasLineNumbersin interfaceMappingOrBuilder- Returns:
- The hasLineNumbers.
-
getHasInlineFrames
public boolean getHasInlineFrames()bool has_inline_frames = 10;- Specified by:
getHasInlineFramesin interfaceMappingOrBuilder- Returns:
- The hasInlineFrames.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Mapping parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mapping parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mapping parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mapping parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mapping parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Mapping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Mapping parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Mapping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Mapping.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-