Interface LocationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Location, Location.Builder

public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The instruction address for this location, if available.
    int
    References to attributes in Profile.attribute_table.
    int
    References to attributes in Profile.attribute_table.
    References to attributes in Profile.attribute_table.
    boolean
    Provides an indication that multiple symbols map to this location's address, for example due to identical code folding by the linker.
    getLine(int index)
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    int
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    getLineOrBuilder(int index)
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    List<? extends LineOrBuilder>
    Multiple line indicates this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.
    int
    Reference to mapping in Profile.mapping_table.
    boolean
    Reference to mapping in Profile.mapping_table.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasMappingIndex

      boolean hasMappingIndex()
       Reference to mapping in Profile.mapping_table.
       It can be unset if the mapping is unknown or not applicable for
       this profile type.
       
      optional int32 mapping_index = 1;
      Returns:
      Whether the mappingIndex field is set.
    • getMappingIndex

      int getMappingIndex()
       Reference to mapping in Profile.mapping_table.
       It can be unset if the mapping is unknown or not applicable for
       this profile type.
       
      optional int32 mapping_index = 1;
      Returns:
      The mappingIndex.
    • getAddress

      long getAddress()
       The instruction address for this location, if available.  It
       should be within [Mapping.memory_start...Mapping.memory_limit]
       for the corresponding mapping. A non-leaf address may be in the
       middle of a call instruction. It is up to display tools to find
       the beginning of the instruction if necessary.
       
      uint64 address = 2;
      Returns:
      The address.
    • getLineList

      List<Line> getLineList()
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
       line[0].function_name == "memcpy"
       line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1development.Line line = 3;
    • getLine

      Line getLine(int index)
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
       line[0].function_name == "memcpy"
       line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1development.Line line = 3;
    • getLineCount

      int getLineCount()
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
       line[0].function_name == "memcpy"
       line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1development.Line line = 3;
    • getLineOrBuilderList

      List<? extends LineOrBuilder> getLineOrBuilderList()
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
       line[0].function_name == "memcpy"
       line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1development.Line line = 3;
    • getLineOrBuilder

      LineOrBuilder getLineOrBuilder(int index)
       Multiple line indicates this location has inlined functions,
       where the last entry represents the caller into which the
       preceding entries were inlined.
      
       E.g., if memcpy() is inlined into printf:
       line[0].function_name == "memcpy"
       line[1].function_name == "printf"
       
      repeated .opentelemetry.proto.profiles.v1development.Line line = 3;
    • getIsFolded

      boolean getIsFolded()
       Provides an indication that multiple symbols map to this location's
       address, for example due to identical code folding by the linker. In that
       case the line information above represents one of the multiple
       symbols. This field must be recomputed when the symbolization state of the
       profile changes.
       
      bool is_folded = 4;
      Returns:
      The isFolded.
    • getAttributeIndicesList

      List<Integer> getAttributeIndicesList()
       References to attributes in Profile.attribute_table. [optional]
       
      repeated int32 attribute_indices = 5;
      Returns:
      A list containing the attributeIndices.
    • getAttributeIndicesCount

      int getAttributeIndicesCount()
       References to attributes in Profile.attribute_table. [optional]
       
      repeated int32 attribute_indices = 5;
      Returns:
      The count of attributeIndices.
    • getAttributeIndices

      int getAttributeIndices(int index)
       References to attributes in Profile.attribute_table. [optional]
       
      repeated int32 attribute_indices = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The attributeIndices at the given index.