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 ProfilesDictionary.attribute_table.addAttributeIndices(int value) References to attributes in ProfilesDictionary.attribute_table.build()clear()References to attributes in ProfilesDictionary.attribute_table.The object this entry is loaded from.Offset in the binary that corresponds to the first mapped address.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 ProfilesDictionary.attribute_table.intReferences to attributes in ProfilesDictionary.attribute_table.References to attributes in ProfilesDictionary.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.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 ProfilesDictionary.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.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 ProfilesDictionary.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 ProfilesDictionary.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 ProfilesDictionary.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 ProfilesDictionary.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 ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Parameters:
value- The attributeIndices to add.- Returns:
- This builder for chaining.
-
addAllAttributeIndices
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Parameters:
values- The attributeIndices to add.- Returns:
- This builder for chaining.
-
clearAttributeIndices
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 5;- Returns:
- This builder for chaining.
-