Class Profile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Profile.Builder>
io.opentelemetry.proto.profiles.v1development.Profile.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProfileOrBuilder,Cloneable
- Enclosing class:
- Profile
public static final class Profile.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Profile.Builder>
implements ProfileOrBuilder
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttributeIndices(Iterable<? extends Integer> values) References to attributes in attribute_table.addAllAttributeTable(Iterable<? extends KeyValue> values) Lookup table for attributes.addAllAttributeUnits(Iterable<? extends AttributeUnit> values) Represents a mapping between Attribute Keys and Units.addAllCommentStrindices(Iterable<? extends Integer> values) Free-form text associated with the profile.addAllFunctionTable(Iterable<? extends Function> values) Functions referenced by locations.addAllLinkTable(Iterable<? extends Link> values) Lookup table for links.addAllLocationIndices(Iterable<? extends Integer> values) Array of locations referenced by samples.addAllLocationTable(Iterable<? extends Location> values) Locations referenced by samples via location_indices.addAllMappingTable(Iterable<? extends Mapping> values) Mapping from address ranges to the image/binary/library mapped into that address range.addAllSample(Iterable<? extends Sample> values) The set of samples recorded in this profile.addAllSampleType(Iterable<? extends ValueType> values) A description of the samples associated with each Sample.value.addAllStringTable(Iterable<String> values) A common table for strings referenced by various messages.addAttributeIndices(int value) References to attributes in attribute_table.addAttributeTable(int index, KeyValue value) Lookup table for attributes.addAttributeTable(int index, KeyValue.Builder builderForValue) Lookup table for attributes.addAttributeTable(KeyValue value) Lookup table for attributes.addAttributeTable(KeyValue.Builder builderForValue) Lookup table for attributes.Lookup table for attributes.addAttributeTableBuilder(int index) Lookup table for attributes.addAttributeUnits(int index, AttributeUnit value) Represents a mapping between Attribute Keys and Units.addAttributeUnits(int index, AttributeUnit.Builder builderForValue) Represents a mapping between Attribute Keys and Units.addAttributeUnits(AttributeUnit value) Represents a mapping between Attribute Keys and Units.addAttributeUnits(AttributeUnit.Builder builderForValue) Represents a mapping between Attribute Keys and Units.Represents a mapping between Attribute Keys and Units.addAttributeUnitsBuilder(int index) Represents a mapping between Attribute Keys and Units.addCommentStrindices(int value) Free-form text associated with the profile.addFunctionTable(int index, Function value) Functions referenced by locations.addFunctionTable(int index, Function.Builder builderForValue) Functions referenced by locations.addFunctionTable(Function value) Functions referenced by locations.addFunctionTable(Function.Builder builderForValue) Functions referenced by locations.Functions referenced by locations.addFunctionTableBuilder(int index) Functions referenced by locations.addLinkTable(int index, Link value) Lookup table for links.addLinkTable(int index, Link.Builder builderForValue) Lookup table for links.addLinkTable(Link value) Lookup table for links.addLinkTable(Link.Builder builderForValue) Lookup table for links.Lookup table for links.addLinkTableBuilder(int index) Lookup table for links.addLocationIndices(int value) Array of locations referenced by samples.addLocationTable(int index, Location value) Locations referenced by samples via location_indices.addLocationTable(int index, Location.Builder builderForValue) Locations referenced by samples via location_indices.addLocationTable(Location value) Locations referenced by samples via location_indices.addLocationTable(Location.Builder builderForValue) Locations referenced by samples via location_indices.Locations referenced by samples via location_indices.addLocationTableBuilder(int index) Locations referenced by samples via location_indices.addMappingTable(int index, Mapping value) Mapping from address ranges to the image/binary/library mapped into that address range.addMappingTable(int index, Mapping.Builder builderForValue) Mapping from address ranges to the image/binary/library mapped into that address range.addMappingTable(Mapping value) Mapping from address ranges to the image/binary/library mapped into that address range.addMappingTable(Mapping.Builder builderForValue) Mapping 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.addMappingTableBuilder(int index) Mapping from address ranges to the image/binary/library mapped into that address range.The set of samples recorded in this profile.addSample(int index, Sample.Builder builderForValue) The set of samples recorded in this profile.The set of samples recorded in this profile.addSample(Sample.Builder builderForValue) The set of samples recorded in this profile.The set of samples recorded in this profile.addSampleBuilder(int index) The set of samples recorded in this profile.addSampleType(int index, ValueType value) A description of the samples associated with each Sample.value.addSampleType(int index, ValueType.Builder builderForValue) A description of the samples associated with each Sample.value.addSampleType(ValueType value) A description of the samples associated with each Sample.value.addSampleType(ValueType.Builder builderForValue) A description of the samples associated with each Sample.value.A description of the samples associated with each Sample.value.addSampleTypeBuilder(int index) A description of the samples associated with each Sample.value.addStringTable(String value) A common table for strings referenced by various messages.addStringTableBytes(com.google.protobuf.ByteString value) A common table for strings referenced by various messages.build()clear()References to attributes in attribute_table.Lookup table for attributes.Represents a mapping between Attribute Keys and Units.Free-form text associated with the profile.Index into the string table of the type of the preferred sample value.dropped_attributes_count is the number of attributes that were discarded.Duration of the profile, if a duration makes sense.Functions referenced by locations.Lookup table for links.Array of locations referenced by samples.Locations referenced by samples via location_indices.Mapping from address ranges to the image/binary/library mapped into that address range.Original payload can be stored in this field.Specifies format of the original payload.The number of events between sampled occurrences.The kind of events between sampled occurrences.A globally unique identifier for a profile.The set of samples recorded in this profile.A description of the samples associated with each Sample.value.A common table for strings referenced by various messages.Time of collection (UTC) represented as nanoseconds past the epoch.intgetAttributeIndices(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.getAttributeTableBuilder(int index) Lookup table for attributes.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.getAttributeUnitsBuilder(int index) Represents a mapping between Attribute Keys and Units.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.intIndex into the string table of the type of the preferred sample value.static final com.google.protobuf.Descriptors.Descriptorcom.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.getFunctionTableBuilder(int index) Functions referenced by locations.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.getLinkTableBuilder(int index) Lookup table for links.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.getLocationTableBuilder(int index) Locations referenced by samples via location_indices.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.getMappingTableBuilder(int index) Mapping 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.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.longThe number of events between sampled occurrences.The kind 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.getSampleBuilder(int index) The set of samples recorded in this profile.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.getSampleTypeBuilder(int index) A description of the samples associated with each Sample.value.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.com.google.protobuf.ProtocolStringListA 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePeriodType(ValueType value) The kind of events between sampled occurrences.removeAttributeTable(int index) Lookup table for attributes.removeAttributeUnits(int index) Represents a mapping between Attribute Keys and Units.removeFunctionTable(int index) Functions referenced by locations.removeLinkTable(int index) Lookup table for links.removeLocationTable(int index) Locations referenced by samples via location_indices.removeMappingTable(int index) Mapping from address ranges to the image/binary/library mapped into that address range.removeSample(int index) The set of samples recorded in this profile.removeSampleType(int index) A description of the samples associated with each Sample.value.setAttributeIndices(int index, int value) References to attributes in attribute_table.setAttributeTable(int index, KeyValue value) Lookup table for attributes.setAttributeTable(int index, KeyValue.Builder builderForValue) Lookup table for attributes.setAttributeUnits(int index, AttributeUnit value) Represents a mapping between Attribute Keys and Units.setAttributeUnits(int index, AttributeUnit.Builder builderForValue) Represents a mapping between Attribute Keys and Units.setCommentStrindices(int index, int value) Free-form text associated with the profile.setDefaultSampleTypeStrindex(int value) Index into the string table of the type of the preferred sample value.setDroppedAttributesCount(int value) dropped_attributes_count is the number of attributes that were discarded.setDurationNanos(long value) Duration of the profile, if a duration makes sense.setFunctionTable(int index, Function value) Functions referenced by locations.setFunctionTable(int index, Function.Builder builderForValue) Functions referenced by locations.setLinkTable(int index, Link value) Lookup table for links.setLinkTable(int index, Link.Builder builderForValue) Lookup table for links.setLocationIndices(int index, int value) Array of locations referenced by samples.setLocationTable(int index, Location value) Locations referenced by samples via location_indices.setLocationTable(int index, Location.Builder builderForValue) Locations referenced by samples via location_indices.setMappingTable(int index, Mapping value) Mapping from address ranges to the image/binary/library mapped into that address range.setMappingTable(int index, Mapping.Builder builderForValue) Mapping from address ranges to the image/binary/library mapped into that address range.setOriginalPayload(com.google.protobuf.ByteString value) Original payload can be stored in this field.setOriginalPayloadFormat(String value) Specifies format of the original payload.setOriginalPayloadFormatBytes(com.google.protobuf.ByteString value) Specifies format of the original payload.setPeriod(long value) The number of events between sampled occurrences.setPeriodType(ValueType value) The kind of events between sampled occurrences.setPeriodType(ValueType.Builder builderForValue) The kind of events between sampled occurrences.setProfileId(com.google.protobuf.ByteString value) A globally unique identifier for a profile.The set of samples recorded in this profile.setSample(int index, Sample.Builder builderForValue) The set of samples recorded in this profile.setSampleType(int index, ValueType value) A description of the samples associated with each Sample.value.setSampleType(int index, ValueType.Builder builderForValue) A description of the samples associated with each Sample.value.setStringTable(int index, String value) A common table for strings referenced by various messages.setTimeNanos(long value) Time of collection (UTC) represented as nanoseconds past the epoch.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Profile.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Profile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Profile.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Profile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Profile.Builder>
-
mergeFrom
public Profile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Profile.Builder>- Throws:
IOException
-
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
-
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
-
setSampleType
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; -
setSampleType
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; -
addSampleType
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; -
addSampleType
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; -
addSampleType
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; -
addSampleType
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; -
addAllSampleType
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; -
clearSampleType
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; -
removeSampleType
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; -
getSampleTypeBuilder
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; -
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
-
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
-
addSampleTypeBuilder
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; -
addSampleTypeBuilder
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; -
getSampleTypeBuilderList
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; -
getSampleList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSampleListin 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
-
setSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
setSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
addSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
addSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
addSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
addSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
addAllSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
clearSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
removeSample
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
getSampleBuilder
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
getSampleOrBuilder
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSampleOrBuilderin interfaceProfileOrBuilder
-
getSampleOrBuilderList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2;- Specified by:
getSampleOrBuilderListin interfaceProfileOrBuilder
-
addSampleBuilder
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
addSampleBuilder
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
getSampleBuilderList
The set of samples recorded in this profile.
repeated .opentelemetry.proto.profiles.v1development.Sample sample = 2; -
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
-
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
-
setMappingTable
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; -
setMappingTable
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; -
addMappingTable
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; -
addMappingTable
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; -
addMappingTable
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; -
addMappingTable
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; -
addAllMappingTable
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; -
clearMappingTable
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; -
removeMappingTable
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; -
getMappingTableBuilder
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; -
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
-
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
-
addMappingTableBuilder
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; -
addMappingTableBuilder
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; -
getMappingTableBuilderList
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; -
getLocationTableList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTableListin 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
-
setLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
setLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
addLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
addLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
addLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
addLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
addAllLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
clearLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
removeLocationTable
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
getLocationTableBuilder
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
getLocationTableOrBuilder
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTableOrBuilderin interfaceProfileOrBuilder
-
getLocationTableOrBuilderList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4;- Specified by:
getLocationTableOrBuilderListin interfaceProfileOrBuilder
-
addLocationTableBuilder
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
addLocationTableBuilder
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
getLocationTableBuilderList
Locations referenced by samples via location_indices.
repeated .opentelemetry.proto.profiles.v1development.Location location_table = 4; -
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.
-
setLocationIndices
Array of locations referenced by samples.
repeated int32 location_indices = 5;- Parameters:
index- The index to set the value at.value- The locationIndices to set.- Returns:
- This builder for chaining.
-
addLocationIndices
Array of locations referenced by samples.
repeated int32 location_indices = 5;- Parameters:
value- The locationIndices to add.- Returns:
- This builder for chaining.
-
addAllLocationIndices
Array of locations referenced by samples.
repeated int32 location_indices = 5;- Parameters:
values- The locationIndices to add.- Returns:
- This builder for chaining.
-
clearLocationIndices
Array of locations referenced by samples.
repeated int32 location_indices = 5;- Returns:
- This builder for chaining.
-
getFunctionTableList
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTableListin 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
-
setFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
setFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
addFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
addFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
addFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
addFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
addAllFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
clearFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
removeFunctionTable
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
getFunctionTableBuilder
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
getFunctionTableOrBuilder
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTableOrBuilderin interfaceProfileOrBuilder
-
getFunctionTableOrBuilderList
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6;- Specified by:
getFunctionTableOrBuilderListin interfaceProfileOrBuilder
-
addFunctionTableBuilder
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
addFunctionTableBuilder
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
getFunctionTableBuilderList
Functions referenced by locations.
repeated .opentelemetry.proto.profiles.v1development.Function function_table = 6; -
getAttributeTableList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTableListin 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
-
setAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
setAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
addAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
addAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
addAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
addAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
addAllAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
clearAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
removeAttributeTable
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
getAttributeTableBuilder
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
getAttributeTableOrBuilder
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTableOrBuilderin interfaceProfileOrBuilder
-
getAttributeTableOrBuilderList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7;- Specified by:
getAttributeTableOrBuilderListin interfaceProfileOrBuilder
-
addAttributeTableBuilder
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
addAttributeTableBuilder
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
getAttributeTableBuilderList
Lookup table for attributes.
repeated .opentelemetry.proto.common.v1.KeyValue attribute_table = 7; -
getAttributeUnitsList
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsListin 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
-
setAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
setAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
addAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
addAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
addAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
addAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
addAllAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
clearAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
removeAttributeUnits
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
getAttributeUnitsBuilder
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
getAttributeUnitsOrBuilder
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsOrBuilderin interfaceProfileOrBuilder
-
getAttributeUnitsOrBuilderList
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8;- Specified by:
getAttributeUnitsOrBuilderListin interfaceProfileOrBuilder
-
addAttributeUnitsBuilder
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
addAttributeUnitsBuilder
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
getAttributeUnitsBuilderList
Represents a mapping between Attribute Keys and Units.
repeated .opentelemetry.proto.profiles.v1development.AttributeUnit attribute_units = 8; -
getLinkTableList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- Specified by:
getLinkTableListin 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
-
setLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
setLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
addLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
addLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
addLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
addLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
addAllLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
clearLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
removeLinkTable
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
getLinkTableBuilder
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
getLinkTableOrBuilder
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- Specified by:
getLinkTableOrBuilderin interfaceProfileOrBuilder
-
getLinkTableOrBuilderList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9;- Specified by:
getLinkTableOrBuilderListin interfaceProfileOrBuilder
-
addLinkTableBuilder
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
addLinkTableBuilder
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
getLinkTableBuilderList
Lookup table for links.
repeated .opentelemetry.proto.profiles.v1development.Link link_table = 9; -
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.
-
setStringTable
A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 10;- Parameters:
index- The index to set the value at.value- The stringTable to set.- Returns:
- This builder for chaining.
-
addStringTable
A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 10;- Parameters:
value- The stringTable to add.- Returns:
- This builder for chaining.
-
addAllStringTable
A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 10;- Parameters:
values- The stringTable to add.- Returns:
- This builder for chaining.
-
clearStringTable
A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 10;- Returns:
- This builder for chaining.
-
addStringTableBytes
A common table for strings referenced by various messages. string_table[0] must always be "".
repeated string string_table = 10;- Parameters:
value- The bytes of the stringTable to add.- Returns:
- This builder for chaining.
-
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.
-
setTimeNanos
Time of collection (UTC) represented as nanoseconds past the epoch.
int64 time_nanos = 11;- Parameters:
value- The timeNanos to set.- Returns:
- This builder for chaining.
-
clearTimeNanos
Time of collection (UTC) represented as nanoseconds past the epoch.
int64 time_nanos = 11;- Returns:
- This builder for chaining.
-
getDurationNanos
public long getDurationNanos()Duration of the profile, if a duration makes sense.
int64 duration_nanos = 12;- Specified by:
getDurationNanosin interfaceProfileOrBuilder- Returns:
- The durationNanos.
-
setDurationNanos
Duration of the profile, if a duration makes sense.
int64 duration_nanos = 12;- Parameters:
value- The durationNanos to set.- Returns:
- This builder for chaining.
-
clearDurationNanos
Duration of the profile, if a duration makes sense.
int64 duration_nanos = 12;- Returns:
- This builder for chaining.
-
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.
-
setPeriodType
The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1development.ValueType period_type = 13; -
setPeriodType
The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1development.ValueType period_type = 13; -
mergePeriodType
The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1development.ValueType period_type = 13; -
clearPeriodType
The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1development.ValueType period_type = 13; -
getPeriodTypeBuilder
The kind of events between sampled occurrences. e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
.opentelemetry.proto.profiles.v1development.ValueType period_type = 13; -
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.
-
setPeriod
The number of events between sampled occurrences.
int64 period = 14;- Parameters:
value- The period to set.- Returns:
- This builder for chaining.
-
clearPeriod
The number of events between sampled occurrences.
int64 period = 14;- Returns:
- This builder for chaining.
-
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.
-
setCommentStrindices
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;- Parameters:
index- The index to set the value at.value- The commentStrindices to set.- Returns:
- This builder for chaining.
-
addCommentStrindices
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;- Parameters:
value- The commentStrindices to add.- Returns:
- This builder for chaining.
-
addAllCommentStrindices
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;- Parameters:
values- The commentStrindices to add.- Returns:
- This builder for chaining.
-
clearCommentStrindices
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;- Returns:
- This builder for chaining.
-
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.
-
setDefaultSampleTypeStrindex
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;- Parameters:
value- The defaultSampleTypeStrindex to set.- Returns:
- This builder for chaining.
-
clearDefaultSampleTypeStrindex
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;- Returns:
- This builder for chaining.
-
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.
-
setProfileId
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;- Parameters:
value- The profileId to set.- Returns:
- This builder for chaining.
-
clearProfileId
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;- Returns:
- This builder for chaining.
-
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.
-
setDroppedAttributesCount
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;- Parameters:
value- The droppedAttributesCount to set.- Returns:
- This builder for chaining.
-
clearDroppedAttributesCount
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;- Returns:
- This builder for chaining.
-
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.
-
setOriginalPayloadFormat
Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
string original_payload_format = 20;- Parameters:
value- The originalPayloadFormat to set.- Returns:
- This builder for chaining.
-
clearOriginalPayloadFormat
Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
string original_payload_format = 20;- Returns:
- This builder for chaining.
-
setOriginalPayloadFormatBytes
Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
string original_payload_format = 20;- Parameters:
value- The bytes for originalPayloadFormat to set.- Returns:
- This builder for chaining.
-
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.
-
setOriginalPayload
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;- Parameters:
value- The originalPayload to set.- Returns:
- This builder for chaining.
-
clearOriginalPayload
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;- Returns:
- This builder for chaining.
-
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.
-
setAttributeIndices
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;- Parameters:
index- The index to set the value at.value- The attributeIndices to set.- Returns:
- This builder for chaining.
-
addAttributeIndices
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;- Parameters:
value- The attributeIndices to add.- Returns:
- This builder for chaining.
-
addAllAttributeIndices
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;- Parameters:
values- The attributeIndices to add.- Returns:
- This builder for chaining.
-
clearAttributeIndices
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;- Returns:
- This builder for chaining.
-