Class StackTrace.StackFrame

  • All Implemented Interfaces:
    StackTrace.StackFrameOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    StackTrace

    public static final class StackTrace.StackFrame
    extends com.google.protobuf.GeneratedMessageV3
    implements StackTrace.StackFrameOrBuilder
     Represents a single stack frame in a stack trace.
     
    Protobuf type google.devtools.cloudtrace.v2.StackTrace.StackFrame
    See Also:
    Serialized Form
    • Field Detail

      • FUNCTION_NAME_FIELD_NUMBER

        public static final int FUNCTION_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ORIGINAL_FUNCTION_NAME_FIELD_NUMBER

        public static final int ORIGINAL_FUNCTION_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LINE_NUMBER_FIELD_NUMBER

        public static final int LINE_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COLUMN_NUMBER_FIELD_NUMBER

        public static final int COLUMN_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOAD_MODULE_FIELD_NUMBER

        public static final int LOAD_MODULE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SOURCE_VERSION_FIELD_NUMBER

        public static final int SOURCE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasFunctionName

        public boolean hasFunctionName()
         The fully-qualified name that uniquely identifies the function or
         method that is active in this frame (up to 1024 bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString function_name = 1;
        Specified by:
        hasFunctionName in interface StackTrace.StackFrameOrBuilder
        Returns:
        Whether the functionName field is set.
      • getFunctionName

        public TruncatableString getFunctionName()
         The fully-qualified name that uniquely identifies the function or
         method that is active in this frame (up to 1024 bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString function_name = 1;
        Specified by:
        getFunctionName in interface StackTrace.StackFrameOrBuilder
        Returns:
        The functionName.
      • hasOriginalFunctionName

        public boolean hasOriginalFunctionName()
         An un-mangled function name, if `function_name` is mangled.
         To get information about name mangling, run
         [this search](https://www.google.com/search?q=cxx+name+mangling).
         The name can be fully-qualified (up to 1024 bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
        Specified by:
        hasOriginalFunctionName in interface StackTrace.StackFrameOrBuilder
        Returns:
        Whether the originalFunctionName field is set.
      • getOriginalFunctionName

        public TruncatableString getOriginalFunctionName()
         An un-mangled function name, if `function_name` is mangled.
         To get information about name mangling, run
         [this search](https://www.google.com/search?q=cxx+name+mangling).
         The name can be fully-qualified (up to 1024 bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
        Specified by:
        getOriginalFunctionName in interface StackTrace.StackFrameOrBuilder
        Returns:
        The originalFunctionName.
      • getOriginalFunctionNameOrBuilder

        public TruncatableStringOrBuilder getOriginalFunctionNameOrBuilder()
         An un-mangled function name, if `function_name` is mangled.
         To get information about name mangling, run
         [this search](https://www.google.com/search?q=cxx+name+mangling).
         The name can be fully-qualified (up to 1024 bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2;
        Specified by:
        getOriginalFunctionNameOrBuilder in interface StackTrace.StackFrameOrBuilder
      • hasFileName

        public boolean hasFileName()
         The name of the source file where the function call appears (up to 256
         bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString file_name = 3;
        Specified by:
        hasFileName in interface StackTrace.StackFrameOrBuilder
        Returns:
        Whether the fileName field is set.
      • getFileName

        public TruncatableString getFileName()
         The name of the source file where the function call appears (up to 256
         bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString file_name = 3;
        Specified by:
        getFileName in interface StackTrace.StackFrameOrBuilder
        Returns:
        The fileName.
      • getLineNumber

        public long getLineNumber()
         The line number in `file_name` where the function call appears.
         
        int64 line_number = 4;
        Specified by:
        getLineNumber in interface StackTrace.StackFrameOrBuilder
        Returns:
        The lineNumber.
      • getColumnNumber

        public long getColumnNumber()
         The column number where the function call appears, if available.
         This is important in JavaScript because of its anonymous functions.
         
        int64 column_number = 5;
        Specified by:
        getColumnNumber in interface StackTrace.StackFrameOrBuilder
        Returns:
        The columnNumber.
      • hasLoadModule

        public boolean hasLoadModule()
         The binary module from where the code was loaded.
         
        .google.devtools.cloudtrace.v2.Module load_module = 6;
        Specified by:
        hasLoadModule in interface StackTrace.StackFrameOrBuilder
        Returns:
        Whether the loadModule field is set.
      • getLoadModule

        public Module getLoadModule()
         The binary module from where the code was loaded.
         
        .google.devtools.cloudtrace.v2.Module load_module = 6;
        Specified by:
        getLoadModule in interface StackTrace.StackFrameOrBuilder
        Returns:
        The loadModule.
      • hasSourceVersion

        public boolean hasSourceVersion()
         The version of the deployed source code (up to 128 bytes).
         
        .google.devtools.cloudtrace.v2.TruncatableString source_version = 7;
        Specified by:
        hasSourceVersion in interface StackTrace.StackFrameOrBuilder
        Returns:
        Whether the sourceVersion field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static StackTrace.StackFrame parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StackTrace.StackFrame parseFrom​(ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StackTrace.StackFrame parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StackTrace.StackFrame parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StackTrace.StackFrame parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StackTrace.StackFrame parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public StackTrace.StackFrame.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public StackTrace.StackFrame.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected StackTrace.StackFrame.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<StackTrace.StackFrame> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public StackTrace.StackFrame getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder