Interface ProfileOrBuilder

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

public interface ProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSampleTypeList

      List<ValueType> getSampleTypeList()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleType

      ValueType getSampleType(int index)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleTypeCount

      int getSampleTypeCount()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleTypeOrBuilderList

      List<? extends ValueTypeOrBuilder> getSampleTypeOrBuilderList()
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleTypeOrBuilder

      ValueTypeOrBuilder getSampleTypeOrBuilder(int index)
       A description of the samples associated with each Sample.value.
       For a cpu profile this might be:
         [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
       For a heap profile, this might be:
         [["allocations","count"], ["space","bytes"]],
       If one of the values represents the number of events represented
       by the sample, by convention it should be at index 0 and use
       sample_type.unit == "count".
       
      repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1;
    • getSampleList

      List<Sample> getSampleList()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getSample

      Sample getSample(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getSampleCount

      int getSampleCount()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getSampleOrBuilderList

      List<? extends SampleOrBuilder> getSampleOrBuilderList()
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getSampleOrBuilder

      SampleOrBuilder getSampleOrBuilder(int index)
       The set of samples recorded in this profile.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;
    • getMappingList

      List<Mapping> getMappingList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getMapping

      Mapping getMapping(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getMappingCount

      int getMappingCount()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getMappingOrBuilderList

      List<? extends MappingOrBuilder> getMappingOrBuilderList()
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getMappingOrBuilder

      MappingOrBuilder getMappingOrBuilder(int index)
       Mapping from address ranges to the image/binary/library mapped
       into that address range.  mapping[0] will be the main binary.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3;
    • getLocationList

      List<Location> getLocationList()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocation

      Location getLocation(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationCount

      int getLocationCount()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationOrBuilderList

      List<? extends LocationOrBuilder> getLocationOrBuilderList()
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationOrBuilder

      LocationOrBuilder getLocationOrBuilder(int index)
       Locations referenced by samples via location_indices.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;
    • getLocationIndicesList

      List<Long> getLocationIndicesList()
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Returns:
      A list containing the locationIndices.
    • getLocationIndicesCount

      int getLocationIndicesCount()
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Returns:
      The count of locationIndices.
    • getLocationIndices

      long getLocationIndices(int index)
       Array of locations referenced by samples.
       
      repeated int64 location_indices = 15;
      Parameters:
      index - The index of the element to return.
      Returns:
      The locationIndices at the given index.
    • getFunctionList

      List<Function> getFunctionList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getFunction

      Function getFunction(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getFunctionCount

      int getFunctionCount()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getFunctionOrBuilderList

      List<? extends FunctionOrBuilder> getFunctionOrBuilderList()
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getFunctionOrBuilder

      FunctionOrBuilder getFunctionOrBuilder(int index)
       Functions referenced by locations.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;
    • getAttributeTableList

      List<KeyValue> getAttributeTableList()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeTable

      KeyValue getAttributeTable(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeTableCount

      int getAttributeTableCount()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeTableOrBuilderList

      List<? extends KeyValueOrBuilder> getAttributeTableOrBuilderList()
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeTableOrBuilder

      KeyValueOrBuilder getAttributeTableOrBuilder(int index)
       Lookup table for attributes.
       
      repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;
    • getAttributeUnitsList

      List<AttributeUnit> getAttributeUnitsList()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getAttributeUnits

      AttributeUnit getAttributeUnits(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getAttributeUnitsCount

      int getAttributeUnitsCount()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getAttributeUnitsOrBuilderList

      List<? extends AttributeUnitOrBuilder> getAttributeUnitsOrBuilderList()
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getAttributeUnitsOrBuilder

      AttributeUnitOrBuilder getAttributeUnitsOrBuilder(int index)
       Represents a mapping between Attribute Keys and Units.
       
      repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;
    • getLinkTableList

      List<Link> getLinkTableList()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getLinkTable

      Link getLinkTable(int index)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getLinkTableCount

      int getLinkTableCount()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getLinkTableOrBuilderList

      List<? extends LinkOrBuilder> getLinkTableOrBuilderList()
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getLinkTableOrBuilder

      LinkOrBuilder getLinkTableOrBuilder(int index)
       Lookup table for links.
       
      repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;
    • getStringTableList

      List<String> getStringTableList()
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Returns:
      A list containing the stringTable.
    • getStringTableCount

      int getStringTableCount()
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Returns:
      The count of stringTable.
    • getStringTable

      String getStringTable(int index)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Parameters:
      index - The index of the element to return.
      Returns:
      The stringTable at the given index.
    • getStringTableBytes

      com.google.protobuf.ByteString getStringTableBytes(int index)
       A common table for strings referenced by various messages.
       string_table[0] must always be "".
       
      repeated string string_table = 6;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stringTable at the given index.
    • getDropFrames

      long getDropFrames()
       frames with Function.function_name fully matching the following
       regexp will be dropped from the samples, along with their successors.
       
      int64 drop_frames = 7;
      Returns:
      The dropFrames.
    • getKeepFrames

      long getKeepFrames()
       frames with Function.function_name fully matching the following
       regexp will be kept, even if it matches drop_frames.
       
      int64 keep_frames = 8;
      Returns:
      The keepFrames.
    • getTimeNanos

      long getTimeNanos()
       Time of collection (UTC) represented as nanoseconds past the epoch.
       
      int64 time_nanos = 9;
      Returns:
      The timeNanos.
    • getDurationNanos

      long getDurationNanos()
       Duration of the profile, if a duration makes sense.
       
      int64 duration_nanos = 10;
      Returns:
      The durationNanos.
    • hasPeriodType

      boolean hasPeriodType()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
      Returns:
      Whether the periodType field is set.
    • getPeriodType

      ValueType getPeriodType()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
      Returns:
      The periodType.
    • getPeriodTypeOrBuilder

      ValueTypeOrBuilder getPeriodTypeOrBuilder()
       The kind of events between sampled occurrences.
       e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
       
      .opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;
    • getPeriod

      long getPeriod()
       The number of events between sampled occurrences.
       
      int64 period = 12;
      Returns:
      The period.
    • getCommentList

      List<Long> getCommentList()
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Returns:
      A list containing the comment.
    • getCommentCount

      int getCommentCount()
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Returns:
      The count of comment.
    • getComment

      long getComment(int index)
       Free-form text associated with the profile. The text is displayed as is
       to the user by the tools that read profiles (e.g. by pprof). This field
       should not be used to store any machine-readable information, it is only
       for human-friendly content. The profile must stay functional if this field
       is cleaned.
       
      repeated int64 comment = 13;
      Parameters:
      index - The index of the element to return.
      Returns:
      The comment at the given index.
    • getDefaultSampleType

      long getDefaultSampleType()
       Index into the string table of the type of the preferred sample
       value. If unset, clients should default to the last sample value.
       
      int64 default_sample_type = 14;
      Returns:
      The defaultSampleType.