Class StackTraceElementProto.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
com.linecorp.armeria.common.grpc.StackTraceElementProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StackTraceElementProtoOrBuilder, Cloneable
Enclosing class:
StackTraceElementProto

public static final class StackTraceElementProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder> implements StackTraceElementProtoOrBuilder
 An element in a stack trace, based on the Java type of the same name.

 See: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/StackTraceElement.html
 
Protobuf type armeria.grpc.StackTraceElementProto
  • Method Details

    • 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.Builder<StackTraceElementProto.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • getDefaultInstanceForType

      public StackTraceElementProto getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StackTraceElementProto build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StackTraceElementProto buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • setField

      public StackTraceElementProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • clearField

      public StackTraceElementProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • clearOneof

      public StackTraceElementProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • setRepeatedField

      public StackTraceElementProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • addRepeatedField

      public StackTraceElementProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • mergeFrom

      public StackTraceElementProto.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StackTraceElementProto.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • mergeFrom

      public StackTraceElementProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StackTraceElementProto.Builder>
      Throws:
      IOException
    • getClassName

      public String getClassName()
       The fully qualified name of the class containing the execution point
       represented by the stack trace element.
       
      string class_name = 1;
      Specified by:
      getClassName in interface StackTraceElementProtoOrBuilder
      Returns:
      The className.
    • getClassNameBytes

      public com.google.protobuf.ByteString getClassNameBytes()
       The fully qualified name of the class containing the execution point
       represented by the stack trace element.
       
      string class_name = 1;
      Specified by:
      getClassNameBytes in interface StackTraceElementProtoOrBuilder
      Returns:
      The bytes for className.
    • setClassName

      public StackTraceElementProto.Builder setClassName(String value)
       The fully qualified name of the class containing the execution point
       represented by the stack trace element.
       
      string class_name = 1;
      Parameters:
      value - The className to set.
      Returns:
      This builder for chaining.
    • clearClassName

      public StackTraceElementProto.Builder clearClassName()
       The fully qualified name of the class containing the execution point
       represented by the stack trace element.
       
      string class_name = 1;
      Returns:
      This builder for chaining.
    • setClassNameBytes

      public StackTraceElementProto.Builder setClassNameBytes(com.google.protobuf.ByteString value)
       The fully qualified name of the class containing the execution point
       represented by the stack trace element.
       
      string class_name = 1;
      Parameters:
      value - The bytes for className to set.
      Returns:
      This builder for chaining.
    • getMethodName

      public String getMethodName()
       The name of the method containing the execution point represented by the
       stack trace element
       
      string method_name = 2;
      Specified by:
      getMethodName in interface StackTraceElementProtoOrBuilder
      Returns:
      The methodName.
    • getMethodNameBytes

      public com.google.protobuf.ByteString getMethodNameBytes()
       The name of the method containing the execution point represented by the
       stack trace element
       
      string method_name = 2;
      Specified by:
      getMethodNameBytes in interface StackTraceElementProtoOrBuilder
      Returns:
      The bytes for methodName.
    • setMethodName

      public StackTraceElementProto.Builder setMethodName(String value)
       The name of the method containing the execution point represented by the
       stack trace element
       
      string method_name = 2;
      Parameters:
      value - The methodName to set.
      Returns:
      This builder for chaining.
    • clearMethodName

      public StackTraceElementProto.Builder clearMethodName()
       The name of the method containing the execution point represented by the
       stack trace element
       
      string method_name = 2;
      Returns:
      This builder for chaining.
    • setMethodNameBytes

      public StackTraceElementProto.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
       The name of the method containing the execution point represented by the
       stack trace element
       
      string method_name = 2;
      Parameters:
      value - The bytes for methodName to set.
      Returns:
      This builder for chaining.
    • getFileName

      public String getFileName()
       The name of the file containing the execution point represented by the
       stack trace element, or null if this information is unavailable.
       
      string file_name = 3;
      Specified by:
      getFileName in interface StackTraceElementProtoOrBuilder
      Returns:
      The fileName.
    • getFileNameBytes

      public com.google.protobuf.ByteString getFileNameBytes()
       The name of the file containing the execution point represented by the
       stack trace element, or null if this information is unavailable.
       
      string file_name = 3;
      Specified by:
      getFileNameBytes in interface StackTraceElementProtoOrBuilder
      Returns:
      The bytes for fileName.
    • setFileName

      public StackTraceElementProto.Builder setFileName(String value)
       The name of the file containing the execution point represented by the
       stack trace element, or null if this information is unavailable.
       
      string file_name = 3;
      Parameters:
      value - The fileName to set.
      Returns:
      This builder for chaining.
    • clearFileName

      public StackTraceElementProto.Builder clearFileName()
       The name of the file containing the execution point represented by the
       stack trace element, or null if this information is unavailable.
       
      string file_name = 3;
      Returns:
      This builder for chaining.
    • setFileNameBytes

      public StackTraceElementProto.Builder setFileNameBytes(com.google.protobuf.ByteString value)
       The name of the file containing the execution point represented by the
       stack trace element, or null if this information is unavailable.
       
      string file_name = 3;
      Parameters:
      value - The bytes for fileName to set.
      Returns:
      This builder for chaining.
    • getLineNumber

      public int getLineNumber()
       The line number of the source line containing the execution point represented
       by this stack trace element, or a negative number if this information is
       unavailable.
       
      int32 line_number = 4;
      Specified by:
      getLineNumber in interface StackTraceElementProtoOrBuilder
      Returns:
      The lineNumber.
    • setLineNumber

      public StackTraceElementProto.Builder setLineNumber(int value)
       The line number of the source line containing the execution point represented
       by this stack trace element, or a negative number if this information is
       unavailable.
       
      int32 line_number = 4;
      Parameters:
      value - The lineNumber to set.
      Returns:
      This builder for chaining.
    • clearLineNumber

      public StackTraceElementProto.Builder clearLineNumber()
       The line number of the source line containing the execution point represented
       by this stack trace element, or a negative number if this information is
       unavailable.
       
      int32 line_number = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final StackTraceElementProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
    • mergeUnknownFields

      public final StackTraceElementProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>