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 ID
 
Protobuf type opentelemetry.proto.profiles.v1experimental.Mapping
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Describes the mapping of a binary in memory, including its address range, file offset, and metadata like build ID

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    long
    getAttributes(int index)
    References to attributes in Profile.attribute_table.
    int
    References to attributes in Profile.attribute_table.
    References to attributes in Profile.attribute_table.
    long
    A string that uniquely identifies a particular program version with high probability.
    Specifies the kind of build id.
    int
    Specifies the kind of build id.
    static Mapping
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    long
    The object this entry is loaded from.
    long
    Offset in the binary that corresponds to the first mapped address.
    boolean
    bool has_filenames = 8;
    boolean
    The following fields indicate the resolution of symbolic info.
    boolean
    bool has_inline_frames = 10;
    boolean
    bool has_line_numbers = 9;
    long
    Unique nonzero id for the mapping.
    long
    The limit of the address range occupied by this mapping.
    long
    Address at which the binary (or DLL) is loaded into memory.
    com.google.protobuf.Parser<Mapping>
     
    int
     
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Mapping prototype)
     
     
    protected Mapping.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Mapping
     
    static Mapping
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Mapping
    parseFrom(byte[] data)
     
    static Mapping
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Mapping
    parseFrom(com.google.protobuf.ByteString data)
     
    static Mapping
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Mapping
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Mapping
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Mapping
     
    static Mapping
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Mapping
     
    static Mapping
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Mapping>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getId

      public long getId()
       Unique nonzero id for the mapping. [deprecated]
       
      uint64 id = 1;
      Specified by:
      getId in interface MappingOrBuilder
      Returns:
      The id.
    • getMemoryStart

      public long getMemoryStart()
       Address at which the binary (or DLL) is loaded into memory.
       
      uint64 memory_start = 2;
      Specified by:
      getMemoryStart in interface MappingOrBuilder
      Returns:
      The memoryStart.
    • getMemoryLimit

      public long getMemoryLimit()
       The limit of the address range occupied by this mapping.
       
      uint64 memory_limit = 3;
      Specified by:
      getMemoryLimit in interface MappingOrBuilder
      Returns:
      The memoryLimit.
    • getFileOffset

      public long getFileOffset()
       Offset in the binary that corresponds to the first mapped address.
       
      uint64 file_offset = 4;
      Specified by:
      getFileOffset in interface MappingOrBuilder
      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:
      getFilename in interface MappingOrBuilder
      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:
      getBuildId in interface MappingOrBuilder
      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:
      getBuildIdKindValue in interface MappingOrBuilder
      Returns:
      The enum numeric value on the wire for buildIdKind.
    • getBuildIdKind

      public 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:
      getBuildIdKind in interface MappingOrBuilder
      Returns:
      The buildIdKind.
    • getAttributesList

      public List<Long> getAttributesList()
       References to attributes in Profile.attribute_table. [optional]
       
      repeated uint64 attributes = 12;
      Specified by:
      getAttributesList in interface MappingOrBuilder
      Returns:
      A list containing the attributes.
    • getAttributesCount

      public int getAttributesCount()
       References to attributes in Profile.attribute_table. [optional]
       
      repeated uint64 attributes = 12;
      Specified by:
      getAttributesCount in interface MappingOrBuilder
      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:
      getAttributes in interface MappingOrBuilder
      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:
      getHasFunctions in interface MappingOrBuilder
      Returns:
      The hasFunctions.
    • getHasFilenames

      public boolean getHasFilenames()
      bool has_filenames = 8;
      Specified by:
      getHasFilenames in interface MappingOrBuilder
      Returns:
      The hasFilenames.
    • getHasLineNumbers

      public boolean getHasLineNumbers()
      bool has_line_numbers = 9;
      Specified by:
      getHasLineNumbers in interface MappingOrBuilder
      Returns:
      The hasLineNumbers.
    • getHasInlineFrames

      public boolean getHasInlineFrames()
      bool has_inline_frames = 10;
      Specified by:
      getHasInlineFrames in interface MappingOrBuilder
      Returns:
      The hasInlineFrames.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Mapping parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Mapping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Mapping parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Mapping parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Mapping parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Mapping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Mapping.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Mapping.Builder newBuilder()
    • newBuilder

      public static Mapping.Builder newBuilder(Mapping prototype)
    • toBuilder

      public Mapping.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Mapping.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Mapping getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Mapping> parser()
    • getParserForType

      public com.google.protobuf.Parser<Mapping> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Mapping getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder