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 (UTC) as nanoseconds since the UNIX epoch.intTimestamps (UTC) as nanoseconds since the UNIX epoch.Timestamps (UTC) as nanoseconds since the UNIX epoch.longgetValues(int index) Measured values.intMeasured values.Measured values.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.
-
getAttributeIndicesList
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 2;- Returns:
- A list containing the attributeIndices.
-
getAttributeIndicesCount
int getAttributeIndicesCount()References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 2;- Returns:
- The count of attributeIndices.
-
getAttributeIndices
int getAttributeIndices(int index) References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 2;- 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] 0 means no link exists.
int32 link_index = 3;- Returns:
- The linkIndex.
-
getValuesList
Measured values. The type and unit of each value is defined by Profile.sample_type.
repeated int64 values = 4;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()Measured values. The type and unit of each value is defined by Profile.sample_type.
repeated int64 values = 4;- Returns:
- The count of values.
-
getValues
long getValues(int index) Measured values. The type and unit of each value is defined by Profile.sample_type.
repeated int64 values = 4;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getTimestampsUnixNanoList
Timestamps (UTC) as nanoseconds since the UNIX epoch. The timestamps SHOULD fall within the [Profile.time_unix_nano, Profile.time_unix_nano + Profile.duration_nano) interval.
repeated fixed64 timestamps_unix_nano = 5;- Returns:
- A list containing the timestampsUnixNano.
-
getTimestampsUnixNanoCount
int getTimestampsUnixNanoCount()Timestamps (UTC) as nanoseconds since the UNIX epoch. The timestamps SHOULD fall within the [Profile.time_unix_nano, Profile.time_unix_nano + Profile.duration_nano) interval.
repeated fixed64 timestamps_unix_nano = 5;- Returns:
- The count of timestampsUnixNano.
-
getTimestampsUnixNano
long getTimestampsUnixNano(int index) Timestamps (UTC) as nanoseconds since the UNIX epoch. The timestamps SHOULD fall within the [Profile.time_unix_nano, Profile.time_unix_nano + Profile.duration_nano) interval.
repeated fixed64 timestamps_unix_nano = 5;- Parameters:
index- The index of the element to return.- Returns:
- The timestampsUnixNano at the given index.
-