Class Profile
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.opentelemetry.proto.profiles.v1experimental.Profile
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProfileOrBuilder,Serializable
public final class Profile
extends com.google.protobuf.GeneratedMessageV3
implements ProfileOrBuilder
Represents a complete profile, including sample types, samples, mappings to binaries, locations, functions, string table, and additional metadata.Protobuf type
opentelemetry.proto.profiles.v1experimental.Profile- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a complete profile, including sample types, samples, mappings to binaries, locations, functions, string table, and additional metadata.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttributeTable(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.static ProfilelongIndex into the string table of the type of the preferred sample value.static final com.google.protobuf.Descriptors.Descriptorlongframes 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.com.google.protobuf.Parser<Profile>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.intgetStringTable(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.com.google.protobuf.ProtocolStringListA common table for strings referenced by various messages.longTime of collection (UTC) represented as nanoseconds past the epoch.inthashCode()booleanThe kind of events between sampled occurrences.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Profile.Builderstatic Profile.BuildernewBuilder(Profile prototype) protected Profile.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ProfileparseDelimitedFrom(InputStream input) static ProfileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProfileparseFrom(byte[] data) static ProfileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProfileparseFrom(com.google.protobuf.ByteString data) static ProfileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProfileparseFrom(com.google.protobuf.CodedInputStream input) static ProfileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProfileparseFrom(InputStream input) static ProfileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProfileparseFrom(ByteBuffer data) static ProfileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Profile>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SAMPLE_TYPE_FIELD_NUMBER
public static final int SAMPLE_TYPE_FIELD_NUMBER- See Also:
-
SAMPLE_FIELD_NUMBER
public static final int SAMPLE_FIELD_NUMBER- See Also:
-
MAPPING_FIELD_NUMBER
public static final int MAPPING_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
LOCATION_INDICES_FIELD_NUMBER
public static final int LOCATION_INDICES_FIELD_NUMBER- See Also:
-
FUNCTION_FIELD_NUMBER
public static final int FUNCTION_FIELD_NUMBER- See Also:
-
ATTRIBUTE_TABLE_FIELD_NUMBER
public static final int ATTRIBUTE_TABLE_FIELD_NUMBER- See Also:
-
ATTRIBUTE_UNITS_FIELD_NUMBER
public static final int ATTRIBUTE_UNITS_FIELD_NUMBER- See Also:
-
LINK_TABLE_FIELD_NUMBER
public static final int LINK_TABLE_FIELD_NUMBER- See Also:
-
STRING_TABLE_FIELD_NUMBER
public static final int STRING_TABLE_FIELD_NUMBER- See Also:
-
DROP_FRAMES_FIELD_NUMBER
public static final int DROP_FRAMES_FIELD_NUMBER- See Also:
-
KEEP_FRAMES_FIELD_NUMBER
public static final int KEEP_FRAMES_FIELD_NUMBER- See Also:
-
TIME_NANOS_FIELD_NUMBER
public static final int TIME_NANOS_FIELD_NUMBER- See Also:
-
DURATION_NANOS_FIELD_NUMBER
public static final int DURATION_NANOS_FIELD_NUMBER- See Also:
-
PERIOD_TYPE_FIELD_NUMBER
public static final int PERIOD_TYPE_FIELD_NUMBER- See Also:
-
PERIOD_FIELD_NUMBER
public static final int PERIOD_FIELD_NUMBER- See Also:
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER- See Also:
-
DEFAULT_SAMPLE_TYPE_FIELD_NUMBER
public static final int DEFAULT_SAMPLE_TYPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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;- Specified by:
getSampleTypeListin interfaceProfileOrBuilder
-
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;- Specified by:
getSampleTypeOrBuilderListin interfaceProfileOrBuilder
-
getSampleTypeCount
public 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;- Specified by:
getSampleTypeCountin interfaceProfileOrBuilder
-
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;- Specified by:
getSampleTypein interfaceProfileOrBuilder
-
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;- Specified by:
getSampleTypeOrBuilderin interfaceProfileOrBuilder
-
getSampleList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;- Specified by:
getSampleListin interfaceProfileOrBuilder
-
getSampleOrBuilderList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;- Specified by:
getSampleOrBuilderListin interfaceProfileOrBuilder
-
getSampleCount
public int getSampleCount()The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;- Specified by:
getSampleCountin interfaceProfileOrBuilder
-
getSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;- Specified by:
getSamplein interfaceProfileOrBuilder
-
getSampleOrBuilder
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1experimental.Sample sample = 2;- Specified by:
getSampleOrBuilderin interfaceProfileOrBuilder
-
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;- Specified by:
getMappingListin interfaceProfileOrBuilder
-
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;- Specified by:
getMappingOrBuilderListin interfaceProfileOrBuilder
-
getMappingCount
public 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;- Specified by:
getMappingCountin interfaceProfileOrBuilder
-
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;- Specified by:
getMappingin interfaceProfileOrBuilder
-
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;- Specified by:
getMappingOrBuilderin interfaceProfileOrBuilder
-
getLocationList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;- Specified by:
getLocationListin interfaceProfileOrBuilder
-
getLocationOrBuilderList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;- Specified by:
getLocationOrBuilderListin interfaceProfileOrBuilder
-
getLocationCount
public int getLocationCount()Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;- Specified by:
getLocationCountin interfaceProfileOrBuilder
-
getLocation
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;- Specified by:
getLocationin interfaceProfileOrBuilder
-
getLocationOrBuilder
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1experimental.Location location = 4;- Specified by:
getLocationOrBuilderin interfaceProfileOrBuilder
-
getLocationIndicesList
Array of locations referenced by samples.
repeated int64 location_indices = 15;- Specified by:
getLocationIndicesListin interfaceProfileOrBuilder- Returns:
- A list containing the locationIndices.
-
getLocationIndicesCount
public int getLocationIndicesCount()Array of locations referenced by samples.
repeated int64 location_indices = 15;- Specified by:
getLocationIndicesCountin interfaceProfileOrBuilder- Returns:
- The count of locationIndices.
-
getLocationIndices
public long getLocationIndices(int index) Array of locations referenced by samples.
repeated int64 location_indices = 15;- Specified by:
getLocationIndicesin interfaceProfileOrBuilder- 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;- Specified by:
getFunctionListin interfaceProfileOrBuilder
-
getFunctionOrBuilderList
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;- Specified by:
getFunctionOrBuilderListin interfaceProfileOrBuilder
-
getFunctionCount
public int getFunctionCount()Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;- Specified by:
getFunctionCountin interfaceProfileOrBuilder
-
getFunction
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;- Specified by:
getFunctionin interfaceProfileOrBuilder
-
getFunctionOrBuilder
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1experimental.Function function = 5;- Specified by:
getFunctionOrBuilderin interfaceProfileOrBuilder
-
getAttributeTableList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;- Specified by:
getAttributeTableListin interfaceProfileOrBuilder
-
getAttributeTableOrBuilderList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;- Specified by:
getAttributeTableOrBuilderListin interfaceProfileOrBuilder
-
getAttributeTableCount
public int getAttributeTableCount()Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;- Specified by:
getAttributeTableCountin interfaceProfileOrBuilder
-
getAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;- Specified by:
getAttributeTablein interfaceProfileOrBuilder
-
getAttributeTableOrBuilder
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 16;- Specified by:
getAttributeTableOrBuilderin interfaceProfileOrBuilder
-
getAttributeUnitsList
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;- Specified by:
getAttributeUnitsListin interfaceProfileOrBuilder
-
getAttributeUnitsOrBuilderList
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;- Specified by:
getAttributeUnitsOrBuilderListin interfaceProfileOrBuilder
-
getAttributeUnitsCount
public int getAttributeUnitsCount()Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;- Specified by:
getAttributeUnitsCountin interfaceProfileOrBuilder
-
getAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;- Specified by:
getAttributeUnitsin interfaceProfileOrBuilder
-
getAttributeUnitsOrBuilder
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1experimental.AttributeUnit attribute_units = 17;- Specified by:
getAttributeUnitsOrBuilderin interfaceProfileOrBuilder
-
getLinkTableList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;- Specified by:
getLinkTableListin interfaceProfileOrBuilder
-
getLinkTableOrBuilderList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;- Specified by:
getLinkTableOrBuilderListin interfaceProfileOrBuilder
-
getLinkTableCount
public int getLinkTableCount()Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;- Specified by:
getLinkTableCountin interfaceProfileOrBuilder
-
getLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;- Specified by:
getLinkTablein interfaceProfileOrBuilder
-
getLinkTableOrBuilder
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1experimental.Link link_table = 18;- Specified by:
getLinkTableOrBuilderin interfaceProfileOrBuilder
-
getStringTableList
public com.google.protobuf.ProtocolStringList getStringTableList()A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 6;- Specified by:
getStringTableListin interfaceProfileOrBuilder- Returns:
- A list containing the stringTable.
-
getStringTableCount
public int getStringTableCount()A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 6;- Specified by:
getStringTableCountin interfaceProfileOrBuilder- 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;- Specified by:
getStringTablein interfaceProfileOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The stringTable at the given index.
-
getStringTableBytes
public 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;- Specified by:
getStringTableBytesin interfaceProfileOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stringTable at the given index.
-
getDropFrames
public 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;- Specified by:
getDropFramesin interfaceProfileOrBuilder- Returns:
- The dropFrames.
-
getKeepFrames
public 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;- Specified by:
getKeepFramesin interfaceProfileOrBuilder- Returns:
- The keepFrames.
-
getTimeNanos
public long getTimeNanos()Time of collection (UTC) represented as nanoseconds past the epoch.
int64 time_nanos = 9;- Specified by:
getTimeNanosin interfaceProfileOrBuilder- Returns:
- The timeNanos.
-
getDurationNanos
public long getDurationNanos()Duration of the profile, if a duration makes sense.
int64 duration_nanos = 10;- Specified by:
getDurationNanosin interfaceProfileOrBuilder- Returns:
- The durationNanos.
-
hasPeriodType
public boolean hasPeriodType()The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;- Specified by:
hasPeriodTypein interfaceProfileOrBuilder- Returns:
- Whether the periodType field is set.
-
getPeriodType
The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;- Specified by:
getPeriodTypein interfaceProfileOrBuilder- Returns:
- The periodType.
-
getPeriodTypeOrBuilder
The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1experimental.ValueType period_type = 11;- Specified by:
getPeriodTypeOrBuilderin interfaceProfileOrBuilder
-
getPeriod
public long getPeriod()The number of events between sampled occurrences.
int64 period = 12;- Specified by:
getPeriodin interfaceProfileOrBuilder- 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;- Specified by:
getCommentListin interfaceProfileOrBuilder- Returns:
- A list containing the comment.
-
getCommentCount
public 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;- Specified by:
getCommentCountin interfaceProfileOrBuilder- Returns:
- The count of comment.
-
getComment
public 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;- Specified by:
getCommentin interfaceProfileOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The comment at the given index.
-
getDefaultSampleType
public 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;- Specified by:
getDefaultSampleTypein interfaceProfileOrBuilder- Returns:
- The defaultSampleType.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Profile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Profile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Profile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Profile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Profile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Profile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Profile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Profile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Profile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Profile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-