Class Location.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Location.Builder>
io.opentelemetry.proto.profiles.v1development.Location.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,LocationOrBuilder,Cloneable
- Enclosing class:
- Location
public static final class Location.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Location.Builder>
implements LocationOrBuilder
Contains function and line table debug information for a single frame. Status: [Alpha]Protobuf type
opentelemetry.proto.profiles.v1development.Location-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttributeIndices(Iterable<? extends Integer> values) References to attributes in ProfilesDictionary.attribute_table.addAllLines(Iterable<? extends Line> values) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.addAttributeIndices(int value) References to attributes in ProfilesDictionary.attribute_table.Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.addLines(int index, Line.Builder builderForValue) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.addLines(Line.Builder builderForValue) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.addLinesBuilder(int index) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.build()clear()The instruction address for this location, if available.References to attributes in ProfilesDictionary.attribute_table.Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.Reference to mapping in ProfilesDictionary.mapping_table. 0 means unknown or not applicable.longThe instruction address for this location, if available.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.DescriptorgetLines(int index) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.getLinesBuilder(int index) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.intMultiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.getLinesOrBuilder(int index) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.List<? extends LineOrBuilder>Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.intReference to mapping in ProfilesDictionary.mapping_table. 0 means unknown or not applicable.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLines(int index) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.setAddress(long value) The instruction address for this location, if available.setAttributeIndices(int index, int value) References to attributes in ProfilesDictionary.attribute_table.Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.setLines(int index, Line.Builder builderForValue) Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined.setMappingIndex(int value) Reference to mapping in ProfilesDictionary.mapping_table. 0 means unknown or not applicable.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<Location.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<Location.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<Location.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<Location.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Location.Builder>
-
mergeFrom
public Location.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<Location.Builder>- Throws:
IOException
-
getMappingIndex
public int getMappingIndex()Reference to mapping in ProfilesDictionary.mapping_table. 0 means unknown or not applicable.
int32 mapping_index = 1;- Specified by:
getMappingIndexin interfaceLocationOrBuilder- Returns:
- The mappingIndex.
-
setMappingIndex
Reference to mapping in ProfilesDictionary.mapping_table. 0 means unknown or not applicable.
int32 mapping_index = 1;- Parameters:
value- The mappingIndex to set.- Returns:
- This builder for chaining.
-
clearMappingIndex
Reference to mapping in ProfilesDictionary.mapping_table. 0 means unknown or not applicable.
int32 mapping_index = 1;- Returns:
- This builder for chaining.
-
getAddress
public long getAddress()The instruction address for this location, if available. It SHOULD be within [Mapping.memory_start, Mapping.memory_limit] for the corresponding mapping. A non-leaf address may be in the middle of a call instruction. It is up to display tools to find the beginning of the instruction if necessary.
uint64 address = 2;- Specified by:
getAddressin interfaceLocationOrBuilder- Returns:
- The address.
-
setAddress
The instruction address for this location, if available. It SHOULD be within [Mapping.memory_start, Mapping.memory_limit] for the corresponding mapping. A non-leaf address may be in the middle of a call instruction. It is up to display tools to find the beginning of the instruction if necessary.
uint64 address = 2;- Parameters:
value- The address to set.- Returns:
- This builder for chaining.
-
clearAddress
The instruction address for this location, if available. It SHOULD be within [Mapping.memory_start, Mapping.memory_limit] for the corresponding mapping. A non-leaf address may be in the middle of a call instruction. It is up to display tools to find the beginning of the instruction if necessary.
uint64 address = 2;- Returns:
- This builder for chaining.
-
getLinesList
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3;- Specified by:
getLinesListin interfaceLocationOrBuilder
-
getLinesCount
public int getLinesCount()Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3;- Specified by:
getLinesCountin interfaceLocationOrBuilder
-
getLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3;- Specified by:
getLinesin interfaceLocationOrBuilder
-
setLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
setLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
addLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
addLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
addLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
addLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
addAllLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
clearLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
removeLines
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
getLinesBuilder
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
getLinesOrBuilder
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3;- Specified by:
getLinesOrBuilderin interfaceLocationOrBuilder
-
getLinesOrBuilderList
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3;- Specified by:
getLinesOrBuilderListin interfaceLocationOrBuilder
-
addLinesBuilder
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
addLinesBuilder
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
getLinesBuilderList
Multiple lines indicate this location has inlined functions, where the last entry represents the caller into which the preceding entries were inlined. E.g., if memcpy() is inlined into printf: lines[0].function_name == "memcpy" lines[1].function_name == "printf"
repeated .opentelemetry.proto.profiles.v1development.Line lines = 3; -
getAttributeIndicesList
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Specified by:
getAttributeIndicesListin interfaceLocationOrBuilder- Returns:
- A list containing the attributeIndices.
-
getAttributeIndicesCount
public int getAttributeIndicesCount()References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Specified by:
getAttributeIndicesCountin interfaceLocationOrBuilder- Returns:
- The count of attributeIndices.
-
getAttributeIndices
public int getAttributeIndices(int index) References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Specified by:
getAttributeIndicesin interfaceLocationOrBuilder- 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 = 4;- 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 = 4;- Parameters:
value- The attributeIndices to add.- Returns:
- This builder for chaining.
-
addAllAttributeIndices
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Parameters:
values- The attributeIndices to add.- Returns:
- This builder for chaining.
-
clearAttributeIndices
References to attributes in ProfilesDictionary.attribute_table. [optional]
repeated int32 attribute_indices = 4;- Returns:
- This builder for chaining.
-