
io.opentelemetry.proto.profiles.v1development.SampleOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/profiles/v1development/profiles.proto
// Protobuf Java Version: 3.25.1
package io.opentelemetry.proto.profiles.v1development;
public interface SampleOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.profiles.v1development.Sample)
com.google.protobuf.MessageOrBuilder {
/**
*
* locations_start_index along with locations_length refers to to a slice of locations in Profile.location_indices.
*
*
* int32 locations_start_index = 1;
* @return The locationsStartIndex.
*/
int getLocationsStartIndex();
/**
*
* locations_length along with locations_start_index refers to a slice of locations in Profile.location_indices.
* Supersedes location_index.
*
*
* int32 locations_length = 2;
* @return The locationsLength.
*/
int getLocationsLength();
/**
*
* 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;
* @return A list containing the value.
*/
java.util.List 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;
* @return The count of value.
*/
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;
* @param index The index of the element to return.
* @return The value at the given index.
*/
long getValue(int index);
/**
*
* References to attributes in Profile.attribute_table. [optional]
*
*
* repeated int32 attribute_indices = 4;
* @return A list containing the attributeIndices.
*/
java.util.List getAttributeIndicesList();
/**
*
* References to attributes in Profile.attribute_table. [optional]
*
*
* repeated int32 attribute_indices = 4;
* @return The count of attributeIndices.
*/
int getAttributeIndicesCount();
/**
*
* References to attributes in Profile.attribute_table. [optional]
*
*
* repeated int32 attribute_indices = 4;
* @param index The index of the element to return.
* @return The attributeIndices at the given index.
*/
int getAttributeIndices(int index);
/**
*
* Reference to link in Profile.link_table. [optional]
*
*
* optional int32 link_index = 5;
* @return Whether the linkIndex field is set.
*/
boolean hasLinkIndex();
/**
*
* Reference to link in Profile.link_table. [optional]
*
*
* optional int32 link_index = 5;
* @return The linkIndex.
*/
int getLinkIndex();
/**
*
* 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;
* @return A list containing the timestampsUnixNano.
*/
java.util.List 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;
* @return The count of timestampsUnixNano.
*/
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;
* @param index The index of the element to return.
* @return The timestampsUnixNano at the given index.
*/
long getTimestampsUnixNano(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy