Class Profile
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.opentelemetry.proto.profiles.v1development.Profile
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProfileOrBuilder,Serializable
Represents a complete profile, including sample types, samples, mappings to binaries, locations, functions, string table, and additional metadata. It modifies and annotates pprof Profile with OpenTelemetry specific fields. Note that whilst fields in this message retain the name and field id from pprof in most cases for ease of understanding data migration, it is not intended that pprof:Profile and OpenTelemetry:Profile encoding be wire compatible.Protobuf type
opentelemetry.proto.profiles.v1development.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.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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 intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetAttributeIndices(int index) References to attributes in attribute_table.intReferences to attributes in attribute_table.References to attributes in attribute_table.getAttributeTable(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.intgetCommentStrindices(int index) Free-form text associated with the profile.intFree-form text associated with the profile.Free-form text associated with the profile.static ProfileintIndex into the string table of the type of the preferred sample value.static final com.google.protobuf.Descriptors.Descriptorintdropped_attributes_count is the number of attributes that were discarded.longDuration of the profile, if a duration makes sense.getFunctionTable(int index) Functions referenced by locations.intFunctions referenced by locations.Functions referenced by locations.getFunctionTableOrBuilder(int index) Functions referenced by locations.List<? extends FunctionOrBuilder>Functions referenced by locations.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.intgetLocationIndices(int index) Array of locations referenced by samples.intArray of locations referenced by samples.Array of locations referenced by samples.getLocationTable(int index) Locations referenced by samples via location_indices.intLocations referenced by samples via location_indices.Locations referenced by samples via location_indices.getLocationTableOrBuilder(int index) Locations referenced by samples via location_indices.List<? extends LocationOrBuilder>Locations referenced by samples via location_indices.getMappingTable(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.getMappingTableOrBuilder(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.ByteStringOriginal payload can be stored in this field.Specifies format of the original payload.com.google.protobuf.ByteStringSpecifies format of the original payload.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.com.google.protobuf.ByteStringA globally unique identifier for a profile.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.GeneratedMessage.FieldAccessorTablefinal booleanstatic Profile.Builderstatic Profile.BuildernewBuilder(Profile prototype) protected Profile.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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_TABLE_FIELD_NUMBER
public static final int MAPPING_TABLE_FIELD_NUMBER- See Also:
-
LOCATION_TABLE_FIELD_NUMBER
public static final int LOCATION_TABLE_FIELD_NUMBER- See Also:
-
LOCATION_INDICES_FIELD_NUMBER
public static final int LOCATION_INDICES_FIELD_NUMBER- See Also:
-
FUNCTION_TABLE_FIELD_NUMBER
public static final int FUNCTION_TABLE_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:
-
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_STRINDICES_FIELD_NUMBER
public static final int COMMENT_STRINDICES_FIELD_NUMBER- See Also:
-
DEFAULT_SAMPLE_TYPE_STRINDEX_FIELD_NUMBER
public static final int DEFAULT_SAMPLE_TYPE_STRINDEX_FIELD_NUMBER- See Also:
-
PROFILE_ID_FIELD_NUMBER
public static final int PROFILE_ID_FIELD_NUMBER- See Also:
-
DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER
public static final int DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER- See Also:
-
ORIGINAL_PAYLOAD_FORMAT_FIELD_NUMBER
public static final int ORIGINAL_PAYLOAD_FORMAT_FIELD_NUMBER- See Also:
-
ORIGINAL_PAYLOAD_FIELD_NUMBER
public static final int ORIGINAL_PAYLOAD_FIELD_NUMBER- See Also:
-
ATTRIBUTE_INDICES_FIELD_NUMBER
public static final int ATTRIBUTE_INDICES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.ValueType sample_type = 1;- Specified by:
getSampleTypeOrBuilderin interfaceProfileOrBuilder
-
getSampleList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSampleListin interfaceProfileOrBuilder
-
getSampleOrBuilderList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSampleOrBuilderListin interfaceProfileOrBuilder
-
getSampleCount
public int getSampleCount()The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSampleCountin interfaceProfileOrBuilder
-
getSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSamplein interfaceProfileOrBuilder
-
getSampleOrBuilder
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSampleOrBuilderin interfaceProfileOrBuilder
-
getMappingTableList
Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary. If multiple binaries contribute to the Profile and no main binary can be identified, mapping[0] has no special meaning.
repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;- Specified by:
getMappingTableListin interfaceProfileOrBuilder
-
getMappingTableOrBuilderList
Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary. If multiple binaries contribute to the Profile and no main binary can be identified, mapping[0] has no special meaning.
repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;- Specified by:
getMappingTableOrBuilderListin interfaceProfileOrBuilder
-
getMappingTableCount
public int getMappingTableCount()Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary. If multiple binaries contribute to the Profile and no main binary can be identified, mapping[0] has no special meaning.
repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;- Specified by:
getMappingTableCountin interfaceProfileOrBuilder
-
getMappingTable
Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary. If multiple binaries contribute to the Profile and no main binary can be identified, mapping[0] has no special meaning.
repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;- Specified by:
getMappingTablein interfaceProfileOrBuilder
-
getMappingTableOrBuilder
Mapping from address ranges to the image/binary/library mapped into that address range. mapping[0] will be the main binary. If multiple binaries contribute to the Profile and no main binary can be identified, mapping[0] has no special meaning.
repeated .opentelemetry.proto.profiles.v1development.Mapping mapping_table = 3;- Specified by:
getMappingTableOrBuilderin interfaceProfileOrBuilder
-
getLocationTableList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTableListin interfaceProfileOrBuilder
-
getLocationTableOrBuilderList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTableOrBuilderListin interfaceProfileOrBuilder
-
getLocationTableCount
public int getLocationTableCount()Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTableCountin interfaceProfileOrBuilder
-
getLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTablein interfaceProfileOrBuilder
-
getLocationTableOrBuilder
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTableOrBuilderin interfaceProfileOrBuilder
-
getLocationIndicesList
Array of locations referenced by samples.
repeated int32 location_indices = 5;- Specified by:
getLocationIndicesListin interfaceProfileOrBuilder- Returns:
- A list containing the locationIndices.
-
getLocationIndicesCount
public int getLocationIndicesCount()Array of locations referenced by samples.
repeated int32 location_indices = 5;- Specified by:
getLocationIndicesCountin interfaceProfileOrBuilder- Returns:
- The count of locationIndices.
-
getLocationIndices
public int getLocationIndices(int index) Array of locations referenced by samples.
repeated int32 location_indices = 5;- Specified by:
getLocationIndicesin interfaceProfileOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The locationIndices at the given index.
-
getFunctionTableList
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTableListin interfaceProfileOrBuilder
-
getFunctionTableOrBuilderList
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTableOrBuilderListin interfaceProfileOrBuilder
-
getFunctionTableCount
public int getFunctionTableCount()Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTableCountin interfaceProfileOrBuilder
-
getFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTablein interfaceProfileOrBuilder
-
getFunctionTableOrBuilder
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTableOrBuilderin interfaceProfileOrBuilder
-
getAttributeTableList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTableListin interfaceProfileOrBuilder
-
getAttributeTableOrBuilderList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTableOrBuilderListin interfaceProfileOrBuilder
-
getAttributeTableCount
public int getAttributeTableCount()Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTableCountin interfaceProfileOrBuilder
-
getAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTablein interfaceProfileOrBuilder
-
getAttributeTableOrBuilder
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTableOrBuilderin interfaceProfileOrBuilder
-
getAttributeUnitsList
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsListin interfaceProfileOrBuilder
-
getAttributeUnitsOrBuilderList
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsOrBuilderListin interfaceProfileOrBuilder
-
getAttributeUnitsCount
public int getAttributeUnitsCount()Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsCountin interfaceProfileOrBuilder
-
getAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsin interfaceProfileOrBuilder
-
getAttributeUnitsOrBuilder
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsOrBuilderin interfaceProfileOrBuilder
-
getLinkTableList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- Specified by:
getLinkTableListin interfaceProfileOrBuilder
-
getLinkTableOrBuilderList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- Specified by:
getLinkTableOrBuilderListin interfaceProfileOrBuilder
-
getLinkTableCount
public int getLinkTableCount()Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- Specified by:
getLinkTableCountin interfaceProfileOrBuilder
-
getLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- Specified by:
getLinkTablein interfaceProfileOrBuilder
-
getLinkTableOrBuilder
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- 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 = 10;- 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 = 10;- 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 = 10;- 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 = 10;- Specified by:
getStringTableBytesin interfaceProfileOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stringTable at the given index.
-
getTimeNanos
public long getTimeNanos()Time of collection (UTC) represented as nanoseconds past the epoch.
int64 time_nanos = 11;- Specified by:
getTimeNanosin interfaceProfileOrBuilder- Returns:
- The timeNanos.
-
getDurationNanos
public long getDurationNanos()Duration of the profile, if a duration makes sense.
int64 duration_nanos = 12;- 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.v1development.ValueType period_type = 13;- 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.v1development.ValueType period_type = 13;- 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.v1development.ValueType period_type = 13;- Specified by:
getPeriodTypeOrBuilderin interfaceProfileOrBuilder
-
getPeriod
public long getPeriod()The number of events between sampled occurrences.
int64 period = 14;- Specified by:
getPeriodin interfaceProfileOrBuilder- Returns:
- The period.
-
getCommentStrindicesList
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 int32 comment_strindices = 15;- Specified by:
getCommentStrindicesListin interfaceProfileOrBuilder- Returns:
- A list containing the commentStrindices.
-
getCommentStrindicesCount
public int getCommentStrindicesCount()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 int32 comment_strindices = 15;- Specified by:
getCommentStrindicesCountin interfaceProfileOrBuilder- Returns:
- The count of commentStrindices.
-
getCommentStrindices
public int getCommentStrindices(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 int32 comment_strindices = 15;- Specified by:
getCommentStrindicesin interfaceProfileOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The commentStrindices at the given index.
-
getDefaultSampleTypeStrindex
public int getDefaultSampleTypeStrindex()Index into the string table of the type of the preferred sample value. If unset, clients should default to the last sample value.
int32 default_sample_type_strindex = 16;- Specified by:
getDefaultSampleTypeStrindexin interfaceProfileOrBuilder- Returns:
- The defaultSampleTypeStrindex.
-
getProfileId
public com.google.protobuf.ByteString getProfileId()A globally unique identifier for a profile. The ID is a 16-byte array. An ID with all zeroes is considered invalid. This field is required.
bytes profile_id = 17;- Specified by:
getProfileIdin interfaceProfileOrBuilder- Returns:
- The profileId.
-
getDroppedAttributesCount
public int getDroppedAttributesCount()dropped_attributes_count is the number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.
uint32 dropped_attributes_count = 19;- Specified by:
getDroppedAttributesCountin interfaceProfileOrBuilder- Returns:
- The droppedAttributesCount.
-
getOriginalPayloadFormat
Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
string original_payload_format = 20;- Specified by:
getOriginalPayloadFormatin interfaceProfileOrBuilder- Returns:
- The originalPayloadFormat.
-
getOriginalPayloadFormatBytes
public com.google.protobuf.ByteString getOriginalPayloadFormatBytes()Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
string original_payload_format = 20;- Specified by:
getOriginalPayloadFormatBytesin interfaceProfileOrBuilder- Returns:
- The bytes for originalPayloadFormat.
-
getOriginalPayload
public com.google.protobuf.ByteString getOriginalPayload()Original payload can be stored in this field. This can be useful for users who want to get the original payload. Formats such as JFR are highly extensible and can contain more information than what is defined in this spec. Inclusion of original payload should be configurable by the user. Default behavior should be to not include the original payload. If the original payload is in pprof format, it SHOULD not be included in this field. The field is optional, however if it is present then equivalent converted data should be populated in other fields of this message as far as is practicable.
bytes original_payload = 21;- Specified by:
getOriginalPayloadin interfaceProfileOrBuilder- Returns:
- The originalPayload.
-
getAttributeIndicesList
References to attributes in attribute_table. [optional] It is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes: "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "/http/server_latency": 300 "abc.com/myattribute": true "abc.com/score": 10.239 The OpenTelemetry API specification further restricts the allowed value types: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
repeated int32 attribute_indices = 22;- Specified by:
getAttributeIndicesListin interfaceProfileOrBuilder- Returns:
- A list containing the attributeIndices.
-
getAttributeIndicesCount
public int getAttributeIndicesCount()References to attributes in attribute_table. [optional] It is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes: "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "/http/server_latency": 300 "abc.com/myattribute": true "abc.com/score": 10.239 The OpenTelemetry API specification further restricts the allowed value types: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
repeated int32 attribute_indices = 22;- Specified by:
getAttributeIndicesCountin interfaceProfileOrBuilder- Returns:
- The count of attributeIndices.
-
getAttributeIndices
public int getAttributeIndices(int index) References to attributes in attribute_table. [optional] It is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes: "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "/http/server_latency": 300 "abc.com/myattribute": true "abc.com/score": 10.239 The OpenTelemetry API specification further restricts the allowed value types: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
repeated int32 attribute_indices = 22;- Specified by:
getAttributeIndicesin interfaceProfileOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The attributeIndices at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-