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 TypeMethodDescriptionintgetAttributeIndices(int index) References to attributes in Profile.attribute_table.intReferences to attributes in Profile.attribute_table.References to attributes in Profile.attribute_table.intReference to link in Profile.link_table.intlocations_length along with locations_start_index refers to a slice of locations in Profile.location_indices.intlocations_start_index along with locations_length refers to to a slice of locations in Profile.location_indices.longgetTimestampsUnixNano(int index) Timestamps associated with Sample represented in nanoseconds.intTimestamps associated with Sample represented in nanoseconds.Timestamps associated with Sample represented in nanoseconds.longgetValue(int index) The type and unit of each value is defined by the corresponding entry in Profile.sample_type.intThe 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.booleanReference to link in Profile.link_table.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
-
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
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
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
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.
-