Interface SampleOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    References to attributes in Profile.attribute_table.
    int
    References to attributes in Profile.attribute_table.
    References to attributes in Profile.attribute_table.
    int
    Reference to link in Profile.link_table.
    int
    locations_length along with locations_start_index refers to a slice of locations in Profile.location_indices.
    int
    locations_start_index along with locations_length refers to to a slice of locations in Profile.location_indices.
    long
    Timestamps associated with Sample represented in nanoseconds.
    int
    Timestamps associated with Sample represented in nanoseconds.
    Timestamps associated with Sample represented in nanoseconds.
    long
    getValue(int index)
    The type and unit of each value is defined by the corresponding entry in Profile.sample_type.
    int
    The type and unit of each value is defined by the corresponding entry in Profile.sample_type.
    The type and unit of each value is defined by the corresponding entry in Profile.sample_type.
    boolean
    Reference to link in Profile.link_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

    • getLocationsStartIndex

      int getLocationsStartIndex()
       locations_start_index along with locations_length refers to to a slice of locations in Profile.location_indices.
       
      int32 locations_start_index = 1;
      Returns:
      The locationsStartIndex.
    • getLocationsLength

      int getLocationsLength()
       locations_length along with locations_start_index refers to a slice of locations in Profile.location_indices.
       Supersedes location_index.
       
      int32 locations_length = 2;
      Returns:
      The locationsLength.
    • getValueList

      List<Long> getValueList()
       The type and unit of each value is defined by the corresponding
       entry in Profile.sample_type. All samples must have the same
       number of values, the same as the length of Profile.sample_type.
       When aggregating multiple samples into a single sample, the
       result has a list of values that is the element-wise sum of the
       lists of the originals.
       
      repeated int64 value = 3;
      Returns:
      A list containing the value.
    • getValueCount

      int getValueCount()
       The type and unit of each value is defined by the corresponding
       entry in Profile.sample_type. All samples must have the same
       number of values, the same as the length of Profile.sample_type.
       When aggregating multiple samples into a single sample, the
       result has a list of values that is the element-wise sum of the
       lists of the originals.
       
      repeated int64 value = 3;
      Returns:
      The count of value.
    • getValue

      long getValue(int index)
       The type and unit of each value is defined by the corresponding
       entry in Profile.sample_type. All samples must have the same
       number of values, the same as the length of Profile.sample_type.
       When aggregating multiple samples into a single sample, the
       result has a list of values that is the element-wise sum of the
       lists of the originals.
       
      repeated int64 value = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The value at the given index.
    • getAttributeIndicesList

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

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

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

      boolean hasLinkIndex()
       Reference to link in Profile.link_table. [optional]
       
      optional int32 link_index = 5;
      Returns:
      Whether the linkIndex field is set.
    • getLinkIndex

      int getLinkIndex()
       Reference to link in Profile.link_table. [optional]
       
      optional int32 link_index = 5;
      Returns:
      The linkIndex.
    • getTimestampsUnixNanoList

      List<Long> getTimestampsUnixNanoList()
       Timestamps associated with Sample represented in nanoseconds. These timestamps are expected
       to fall within the Profile's time range. [optional]
       
      repeated uint64 timestamps_unix_nano = 6;
      Returns:
      A list containing the timestampsUnixNano.
    • getTimestampsUnixNanoCount

      int getTimestampsUnixNanoCount()
       Timestamps associated with Sample represented in nanoseconds. These timestamps are expected
       to fall within the Profile's time range. [optional]
       
      repeated uint64 timestamps_unix_nano = 6;
      Returns:
      The count of timestampsUnixNano.
    • getTimestampsUnixNano

      long getTimestampsUnixNano(int index)
       Timestamps associated with Sample represented in nanoseconds. These timestamps are expected
       to fall within the Profile's time range. [optional]
       
      repeated uint64 timestamps_unix_nano = 6;
      Parameters:
      index - The index of the element to return.
      Returns:
      The timestampsUnixNano at the given index.