Interface SampleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Sample,Sample.Builder
@Generated
public interface SampleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetAttributeIndices(int index) References to attributes in ProfilesDictionary.attribute_table.intReferences to attributes in ProfilesDictionary.attribute_table.References to attributes in ProfilesDictionary.attribute_table.intReference to link in ProfilesDictionary.link_table.intReference to stack in ProfilesDictionary.stack_table.longgetTimestampsUnixNano(int index) Timestamps associated with Sample represented in nanoseconds.intTimestamps associated with Sample represented in nanoseconds.Timestamps associated with Sample represented in nanoseconds.longgetValues(int index) The type and unit of each value is defined by Profile.sample_type.intThe type and unit of each value is defined by Profile.sample_type.The type and unit of each value is defined by Profile.sample_type.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
-
getStackIndex
int getStackIndex()Reference to stack in ProfilesDictionary.stack_table.
int32 stack_index = 1;- Returns:
- The stackIndex.
-
getValuesList
The type and unit of each value is defined by Profile.sample_type.
repeated int64 values = 2;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()The type and unit of each value is defined by Profile.sample_type.
repeated int64 values = 2;- Returns:
- The count of values.
-
getValues
long getValues(int index) The type and unit of each value is defined by Profile.sample_type.
repeated int64 values = 2;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getAttributeIndicesList
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 3;- Returns:
- A list containing the attributeIndices.
-
getAttributeIndicesCount
int getAttributeIndicesCount()References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 3;- Returns:
- The count of attributeIndices.
-
getAttributeIndices
int getAttributeIndices(int index) References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 3;- Parameters:
index- The index of the element to return.- Returns:
- The attributeIndices at the given index.
-
getLinkIndex
int getLinkIndex()Reference to link in ProfilesDictionary.link_table. [optional] It can be unset / set to 0 if no link exists, as link_table[0] is always a 'null' default value.
int32 link_index = 4;- Returns:
- The linkIndex.
-
getTimestampsUnixNanoList
Timestamps associated with Sample represented in nanoseconds. These timestamps should fall within the Profile's time range.
repeated fixed64 timestamps_unix_nano = 5;- Returns:
- A list containing the timestampsUnixNano.
-
getTimestampsUnixNanoCount
int getTimestampsUnixNanoCount()Timestamps associated with Sample represented in nanoseconds. These timestamps should fall within the Profile's time range.
repeated fixed64 timestamps_unix_nano = 5;- Returns:
- The count of timestampsUnixNano.
-
getTimestampsUnixNano
long getTimestampsUnixNano(int index) Timestamps associated with Sample represented in nanoseconds. These timestamps should fall within the Profile's time range.
repeated fixed64 timestamps_unix_nano = 5;- Parameters:
index- The index of the element to return.- Returns:
- The timestampsUnixNano at the given index.
-