Interface MappingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Mapping,Mapping.Builder
public interface MappingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetAttributes(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.longThe 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
long getId()Unique nonzero id for the mapping. [deprecated]
uint64 id = 1;- Returns:
- The id.
-
getMemoryStart
long getMemoryStart()Address at which the binary (or DLL) is loaded into memory.
uint64 memory_start = 2;- Returns:
- The memoryStart.
-
getMemoryLimit
long getMemoryLimit()The limit of the address range occupied by this mapping.
uint64 memory_limit = 3;- Returns:
- The memoryLimit.
-
getFileOffset
long getFileOffset()Offset in the binary that corresponds to the first mapped address.
uint64 file_offset = 4;- Returns:
- The fileOffset.
-
getFilename
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;- Returns:
- The filename.
-
getBuildId
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;- Returns:
- The buildId.
-
getBuildIdKindValue
int getBuildIdKindValue()Specifies the kind of build id. See BuildIdKind enum for more details [optional]
.opentelemetry.proto.profiles.v1experimental.BuildIdKind build_id_kind = 11;- Returns:
- The enum numeric value on the wire for buildIdKind.
-
getBuildIdKind
BuildIdKind getBuildIdKind()Specifies the kind of build id. See BuildIdKind enum for more details [optional]
.opentelemetry.proto.profiles.v1experimental.BuildIdKind build_id_kind = 11;- Returns:
- The buildIdKind.
-
getAttributesList
References to attributes in Profile.attribute_table. [optional]
repeated uint64 attributes = 12;- Returns:
- A list containing the attributes.
-
getAttributesCount
int getAttributesCount()References to attributes in Profile.attribute_table. [optional]
repeated uint64 attributes = 12;- Returns:
- The count of attributes.
-
getAttributes
long getAttributes(int index) References to attributes in Profile.attribute_table. [optional]
repeated uint64 attributes = 12;- Parameters:
index- The index of the element to return.- Returns:
- The attributes at the given index.
-
getHasFunctions
boolean getHasFunctions()The following fields indicate the resolution of symbolic info.
bool has_functions = 7;- Returns:
- The hasFunctions.
-
getHasFilenames
boolean getHasFilenames()bool has_filenames = 8;- Returns:
- The hasFilenames.
-
getHasLineNumbers
boolean getHasLineNumbers()bool has_line_numbers = 9;- Returns:
- The hasLineNumbers.
-
getHasInlineFrames
boolean getHasInlineFrames()bool has_inline_frames = 10;- Returns:
- The hasInlineFrames.
-