Interface ProfileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Profile,Profile.Builder
public interface ProfileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeTable(int index) Lookup table for attributes.intLookup table for attributes.Lookup table for attributes.getAttributeTableOrBuilder(int index) Lookup table for attributes.List<? extends KeyValueOrBuilder>Lookup table for attributes.getAttributeUnits(int index) Represents a mapping between Attribute Keys and Units.intRepresents a mapping between Attribute Keys and Units.Represents a mapping between Attribute Keys and Units.getAttributeUnitsOrBuilder(int index) Represents a mapping between Attribute Keys and Units.List<? extends AttributeUnitOrBuilder>Represents a mapping between Attribute Keys and Units.longgetComment(int index) Free-form text associated with the profile.intFree-form text associated with the profile.Free-form text associated with the profile.longIndex into the string table of the type of the preferred sample value.longframes with Function.function_name fully matching the following regexp will be dropped from the samples, along with their successors.longDuration of the profile, if a duration makes sense.getFunction(int index) Functions referenced by locations.intFunctions referenced by locations.Functions referenced by locations.getFunctionOrBuilder(int index) Functions referenced by locations.List<? extends FunctionOrBuilder>Functions referenced by locations.longframes with Function.function_name fully matching the following regexp will be kept, even if it matches drop_frames.getLinkTable(int index) Lookup table for links.intLookup table for links.Lookup table for links.getLinkTableOrBuilder(int index) Lookup table for links.List<? extends LinkOrBuilder>Lookup table for links.getLocation(int index) Locations referenced by samples via location_indices.intLocations referenced by samples via location_indices.longgetLocationIndices(int index) Array of locations referenced by samples.intArray of locations referenced by samples.Array of locations referenced by samples.Locations referenced by samples via location_indices.getLocationOrBuilder(int index) Locations referenced by samples via location_indices.List<? extends LocationOrBuilder>Locations referenced by samples via location_indices.getMapping(int index) Mapping from address ranges to the image/binary/library mapped into that address range.intMapping from address ranges to the image/binary/library mapped into that address range.Mapping from address ranges to the image/binary/library mapped into that address range.getMappingOrBuilder(int index) Mapping from address ranges to the image/binary/library mapped into that address range.List<? extends MappingOrBuilder>Mapping from address ranges to the image/binary/library mapped into that address range.longThe number of events between sampled occurrences.The kind of events between sampled occurrences.The kind of events between sampled occurrences.getSample(int index) The set of samples recorded in this profile.intThe set of samples recorded in this profile.The set of samples recorded in this profile.getSampleOrBuilder(int index) The set of samples recorded in this profile.List<? extends SampleOrBuilder>The set of samples recorded in this profile.getSampleType(int index) A description of the samples associated with each Sample.value.intA description of the samples associated with each Sample.value.A description of the samples associated with each Sample.value.getSampleTypeOrBuilder(int index) A description of the samples associated with each Sample.value.List<? extends ValueTypeOrBuilder>A description of the samples associated with each Sample.value.getStringTable(int index) A common table for strings referenced by various messages.com.google.protobuf.ByteStringgetStringTableBytes(int index) A common table for strings referenced by various messages.intA common table for strings referenced by various messages.A common table for strings referenced by various messages.longTime of collection (UTC) represented as nanoseconds past the epoch.booleanThe kind of events between sampled occurrences.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
-
getSampleTypeList
A description of the samples associated with each Sample.value. For a cpu profile this might be: [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]] For a heap profile, this might be: [["allocations","count"], ["space","bytes"]], If one of the values represents the number of events represented by the sample, by convention it should be at index 0 and use sample_type.unit == "count".
repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1; -
getSampleType
A description of the samples associated with each Sample.value. For a cpu profile this might be: [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]] For a heap profile, this might be: [["allocations","count"], ["space","bytes"]], If one of the values represents the number of events represented by the sample, by convention it should be at index 0 and use sample_type.unit == "count".
repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1; -
getSampleTypeCount
int getSampleTypeCount()A description of the samples associated with each Sample.value. For a cpu profile this might be: [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]] For a heap profile, this might be: [["allocations","count"], ["space","bytes"]], If one of the values represents the number of events represented by the sample, by convention it should be at index 0 and use sample_type.unit == "count".
repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1; -
getSampleTypeOrBuilderList
List<? extends ValueTypeOrBuilder> getSampleTypeOrBuilderList()A description of the samples associated with each Sample.value. For a cpu profile this might be: [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]] For a heap profile, this might be: [["allocations","count"], ["space","bytes"]], If one of the values represents the number of events represented by the sample, by convention it should be at index 0 and use sample_type.unit == "count".
repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1; -
getSampleTypeOrBuilder
A description of the samples associated with each Sample.value. For a cpu profile this might be: [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]] For a heap profile, this might be: [["allocations","count"], ["space","bytes"]], If one of the values represents the number of events represented by the sample, by convention it should be at index 0 and use sample_type.unit == "count".
repeated .opentelemetry.proto.profiles.v1experimental.ValueType sample_type = 1; -
getSampleList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2; -
getSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2; -
getSampleCount
int getSampleCount()The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2; -
getSampleOrBuilderList
List<? extends SampleOrBuilder> getSampleOrBuilderList()The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2; -
getSampleOrBuilder
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2; -
getMappingList
Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary.
repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3; -
getMapping
Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary.
repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3; -
getMappingCount
int getMappingCount()Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary.
repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3; -
getMappingOrBuilderList
List<? extends MappingOrBuilder> getMappingOrBuilderList()Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary.
repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3; -
getMappingOrBuilder
Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary.
repeated .opentelemetry.proto.profiles.v1experimental.Mapping mapping = 3; -
getLocationList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4; -
getLocation
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4; -
getLocationCount
int getLocationCount()Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4; -
getLocationOrBuilderList
List<? extends LocationOrBuilder> getLocationOrBuilderList()Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4; -
getLocationOrBuilder
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4; -
getLocationIndicesList
Array of locations referenced by samples.
repeated int64 location_indices = 15;- Returns:
- A list containing the locationIndices.
-
getLocationIndicesCount
int getLocationIndicesCount()Array of locations referenced by samples.
repeated int64 location_indices = 15;- Returns:
- The count of locationIndices.
-
getLocationIndices
long getLocationIndices(int index) Array of locations referenced by samples.
repeated int64 location_indices = 15;- Parameters:
index- The index of the element to return.- Returns:
- The locationIndices at the given index.
-
getFunctionList
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5; -
getFunction
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5; -
getFunctionCount
int getFunctionCount()Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5; -
getFunctionOrBuilderList
List<? extends FunctionOrBuilder> getFunctionOrBuilderList()Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5; -
getFunctionOrBuilder
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5; -
getAttributeTableList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16; -
getAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16; -
getAttributeTableCount
int getAttributeTableCount()Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16; -
getAttributeTableOrBuilderList
List<? extends KeyValueOrBuilder> getAttributeTableOrBuilderList()Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16; -
getAttributeTableOrBuilder
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16; -
getAttributeUnitsList
List<AttributeUnit> getAttributeUnitsList()Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17; -
getAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17; -
getAttributeUnitsCount
int getAttributeUnitsCount()Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17; -
getAttributeUnitsOrBuilderList
List<? extends AttributeUnitOrBuilder> getAttributeUnitsOrBuilderList()Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17; -
getAttributeUnitsOrBuilder
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17; -
getLinkTableList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18; -
getLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18; -
getLinkTableCount
int getLinkTableCount()Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18; -
getLinkTableOrBuilderList
List<? extends LinkOrBuilder> getLinkTableOrBuilderList()Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18; -
getLinkTableOrBuilder
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18; -
getStringTableList
A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 6;- Returns:
- A list containing the stringTable.
-
getStringTableCount
int getStringTableCount()A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 6;- Returns:
- The count of stringTable.
-
getStringTable
A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 6;- Parameters:
index- The index of the element to return.- Returns:
- The stringTable at the given index.
-
getStringTableBytes
com.google.protobuf.ByteString getStringTableBytes(int index) A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stringTable at the given index.
-
getDropFrames
long getDropFrames()frames with Function.function_name fully matching the following regexp will be dropped from the samples, along with their successors.
int64 drop_frames = 7;- Returns:
- The dropFrames.
-
getKeepFrames
long getKeepFrames()frames with Function.function_name fully matching the following regexp will be kept, even if it matches drop_frames.
int64 keep_frames = 8;- Returns:
- The keepFrames.
-
getTimeNanos
long getTimeNanos()Time of collection (UTC) represented as nanoseconds past the epoch.
int64 time_nanos = 9;- Returns:
- The timeNanos.
-
getDurationNanos
long getDurationNanos()Duration of the profile, if a duration makes sense.
int64 duration_nanos = 10;- Returns:
- The durationNanos.
-
hasPeriodType
boolean hasPeriodType()The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;- Returns:
- Whether the periodType field is set.
-
getPeriodType
ValueType getPeriodType()The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;- Returns:
- The periodType.
-
getPeriodTypeOrBuilder
ValueTypeOrBuilder getPeriodTypeOrBuilder()The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11; -
getPeriod
long getPeriod()The number of events between sampled occurrences.
int64 period = 12;- Returns:
- The period.
-
getCommentList
Free-form text associated with the profile. The text is displayed as is to the user by the tools that read profiles (e.g. by pprof). This field should not be used to store any machine-readable information, it is only for human-friendly content. The profile must stay functional if this field is cleaned.
repeated int64 comment = 13;- Returns:
- A list containing the comment.
-
getCommentCount
int getCommentCount()Free-form text associated with the profile. The text is displayed as is to the user by the tools that read profiles (e.g. by pprof). This field should not be used to store any machine-readable information, it is only for human-friendly content. The profile must stay functional if this field is cleaned.
repeated int64 comment = 13;- Returns:
- The count of comment.
-
getComment
long getComment(int index) Free-form text associated with the profile. The text is displayed as is to the user by the tools that read profiles (e.g. by pprof). This field should not be used to store any machine-readable information, it is only for human-friendly content. The profile must stay functional if this field is cleaned.
repeated int64 comment = 13;- Parameters:
index- The index of the element to return.- Returns:
- The comment at the given index.
-
getDefaultSampleType
long getDefaultSampleType()Index into the string table of the type of the preferred sample value. If unset, clients should default to the last sample value.
int64 default_sample_type = 14;- Returns:
- The defaultSampleType.
-