Class Mapping.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Mapping.Builder>
io.opentelemetry.proto.profiles.v1development.Mapping.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MappingOrBuilder,Cloneable
- Enclosing class:
- Mapping
public static final class Mapping.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Mapping.Builder>
implements MappingOrBuilder
Describes the mapping of a binary in memory, including its address range, file offset, and metadata like build IDProtobuf type
opentelemetry.proto.profiles.v1development.Mapping-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttributeIndices(Iterable<? extends Integer> values) References to attributes in Profile.attribute_table.addAttributeIndices(int value) References to attributes in Profile.attribute_table.build()clear()References to attributes in Profile.attribute_table.The object this entry is loaded from.Offset in the binary that corresponds to the first mapped address.bool has_filenames = 7;The following fields indicate the resolution of symbolic info.bool has_inline_frames = 9;bool has_line_numbers = 8;The limit of the address range occupied by this mapping.Address at which the binary (or DLL) is loaded into memory.intgetAttributeIndices(int index) References to attributes in Profile.attribute_table.intReferences to attributes in Profile.attribute_table.References to attributes in Profile.attribute_table.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe object this entry is loaded from.longOffset in the binary that corresponds to the first mapped address.booleanbool has_filenames = 7;booleanThe following fields indicate the resolution of symbolic info.booleanbool has_inline_frames = 9;booleanbool has_line_numbers = 8;longThe limit of the address range occupied by this mapping.longAddress at which the binary (or DLL) is loaded into memory.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAttributeIndices(int index, int value) References to attributes in Profile.attribute_table.setFilenameStrindex(int value) The object this entry is loaded from.setFileOffset(long value) Offset in the binary that corresponds to the first mapped address.setHasFilenames(boolean value) bool has_filenames = 7;setHasFunctions(boolean value) The following fields indicate the resolution of symbolic info.setHasInlineFrames(boolean value) bool has_inline_frames = 9;setHasLineNumbers(boolean value) bool has_line_numbers = 8;setMemoryLimit(long value) The limit of the address range occupied by this mapping.setMemoryStart(long value) Address at which the binary (or DLL) is loaded into memory.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<Mapping.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<Mapping.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<Mapping.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<Mapping.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Mapping.Builder>
-
mergeFrom
public Mapping.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<Mapping.Builder>- Throws:
IOException
-
getMemoryStart
public long getMemoryStart()Address at which the binary (or DLL) is loaded into memory.
uint64 memory_start = 1;- Specified by:
getMemoryStartin interfaceMappingOrBuilder- Returns:
- The memoryStart.
-
setMemoryStart
Address at which the binary (or DLL) is loaded into memory.
uint64 memory_start = 1;- Parameters:
value- The memoryStart to set.- Returns:
- This builder for chaining.
-
clearMemoryStart
Address at which the binary (or DLL) is loaded into memory.
uint64 memory_start = 1;- Returns:
- This builder for chaining.
-
getMemoryLimit
public long getMemoryLimit()The limit of the address range occupied by this mapping.
uint64 memory_limit = 2;- Specified by:
getMemoryLimitin interfaceMappingOrBuilder- Returns:
- The memoryLimit.
-
setMemoryLimit
The limit of the address range occupied by this mapping.
uint64 memory_limit = 2;- Parameters:
value- The memoryLimit to set.- Returns:
- This builder for chaining.
-
clearMemoryLimit
The limit of the address range occupied by this mapping.
uint64 memory_limit = 2;- Returns:
- This builder for chaining.
-
getFileOffset
public long getFileOffset()Offset in the binary that corresponds to the first mapped address.
uint64 file_offset = 3;- Specified by:
getFileOffsetin interfaceMappingOrBuilder- Returns:
- The fileOffset.
-
setFileOffset
Offset in the binary that corresponds to the first mapped address.
uint64 file_offset = 3;- Parameters:
value- The fileOffset to set.- Returns:
- This builder for chaining.
-
clearFileOffset
Offset in the binary that corresponds to the first mapped address.
uint64 file_offset = 3;- Returns:
- This builder for chaining.
-
getFilenameStrindex
public int getFilenameStrindex()The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".
int32 filename_strindex = 4;- Specified by:
getFilenameStrindexin interfaceMappingOrBuilder- Returns:
- The filenameStrindex.
-
setFilenameStrindex
The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".
int32 filename_strindex = 4;- Parameters:
value- The filenameStrindex to set.- Returns:
- This builder for chaining.
-
clearFilenameStrindex
The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".
int32 filename_strindex = 4;- Returns:
- This builder for chaining.
-
getAttributeIndicesList
References to attributes in Profile.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Specified by:
getAttributeIndicesListin interfaceMappingOrBuilder- Returns:
- A list containing the attributeIndices.
-
getAttributeIndicesCount
public int getAttributeIndicesCount()References to attributes in Profile.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Specified by:
getAttributeIndicesCountin interfaceMappingOrBuilder- Returns:
- The count of attributeIndices.
-
getAttributeIndices
public int getAttributeIndices(int index) References to attributes in Profile.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Specified by:
getAttributeIndicesin interfaceMappingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The attributeIndices at the given index.
-
setAttributeIndices
References to attributes in Profile.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Parameters:
index- The index to set the value at.value- The attributeIndices to set.- Returns:
- This builder for chaining.
-
addAttributeIndices
References to attributes in Profile.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Parameters:
value- The attributeIndices to add.- Returns:
- This builder for chaining.
-
addAllAttributeIndices
References to attributes in Profile.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Parameters:
values- The attributeIndices to add.- Returns:
- This builder for chaining.
-
clearAttributeIndices
References to attributes in Profile.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Returns:
- This builder for chaining.
-
getHasFunctions
public boolean getHasFunctions()The following fields indicate the resolution of symbolic info.
bool has_functions = 6;- Specified by:
getHasFunctionsin interfaceMappingOrBuilder- Returns:
- The hasFunctions.
-
setHasFunctions
The following fields indicate the resolution of symbolic info.
bool has_functions = 6;- Parameters:
value- The hasFunctions to set.- Returns:
- This builder for chaining.
-
clearHasFunctions
The following fields indicate the resolution of symbolic info.
bool has_functions = 6;- Returns:
- This builder for chaining.
-
getHasFilenames
public boolean getHasFilenames()bool has_filenames = 7;- Specified by:
getHasFilenamesin interfaceMappingOrBuilder- Returns:
- The hasFilenames.
-
setHasFilenames
bool has_filenames = 7;- Parameters:
value- The hasFilenames to set.- Returns:
- This builder for chaining.
-
clearHasFilenames
bool has_filenames = 7;- Returns:
- This builder for chaining.
-
getHasLineNumbers
public boolean getHasLineNumbers()bool has_line_numbers = 8;- Specified by:
getHasLineNumbersin interfaceMappingOrBuilder- Returns:
- The hasLineNumbers.
-
setHasLineNumbers
bool has_line_numbers = 8;- Parameters:
value- The hasLineNumbers to set.- Returns:
- This builder for chaining.
-
clearHasLineNumbers
bool has_line_numbers = 8;- Returns:
- This builder for chaining.
-
getHasInlineFrames
public boolean getHasInlineFrames()bool has_inline_frames = 9;- Specified by:
getHasInlineFramesin interfaceMappingOrBuilder- Returns:
- The hasInlineFrames.
-
setHasInlineFrames
bool has_inline_frames = 9;- Parameters:
value- The hasInlineFrames to set.- Returns:
- This builder for chaining.
-
clearHasInlineFrames
bool has_inline_frames = 9;- Returns:
- This builder for chaining.
-