Package com.linecorp.armeria.common.grpc
Class StackTraceElementProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
com.linecorp.armeria.common.grpc.StackTraceElementProto.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,StackTraceElementProtoOrBuilder,Cloneable
- Enclosing class:
- StackTraceElementProto
public static final class StackTraceElementProto.Builder
extends 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.htmlProtobuf type
armeria.grpc.StackTraceElementProto-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The fully qualified name of the class containing the execution point represented by the stack trace element.The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.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.The name of the method containing the execution point represented by the stack trace elementclone()The fully qualified name of the class containing the execution point represented by the stack trace element.The fully qualified name of the class containing the execution point represented by the stack trace element.static final Descriptors.DescriptorThe name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.intThe 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.The name of the method containing the execution point represented by the stack trace elementThe name of the method containing the execution point represented by the stack trace elementprotected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(StackTraceElementProto other) mergeUnknownFields(UnknownFieldSet unknownFields) setClassName(String value) The fully qualified name of the class containing the execution point represented by the stack trace element.setClassNameBytes(ByteString value) The fully qualified name of the class containing the execution point represented by the stack trace element.setField(Descriptors.FieldDescriptor field, Object value) 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.setFileNameBytes(ByteString value) The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.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.setMethodName(String value) The name of the method containing the execution point represented by the stack trace elementsetMethodNameBytes(ByteString value) The name of the method containing the execution point represented by the stack trace elementsetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
setRepeatedField
public StackTraceElementProto.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
addRepeatedField
public StackTraceElementProto.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<StackTraceElementProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeFrom
public StackTraceElementProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<StackTraceElementProto.Builder>- Throws:
IOException
-
getClassName
The fully qualified name of the class containing the execution point represented by the stack trace element.
string class_name = 1;- Specified by:
getClassNamein interfaceStackTraceElementProtoOrBuilder- Returns:
- The className.
-
getClassNameBytes
The fully qualified name of the class containing the execution point represented by the stack trace element.
string class_name = 1;- Specified by:
getClassNameBytesin interfaceStackTraceElementProtoOrBuilder- Returns:
- The bytes for className.
-
setClassName
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
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
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
The name of the method containing the execution point represented by the stack trace element
string method_name = 2;- Specified by:
getMethodNamein interfaceStackTraceElementProtoOrBuilder- Returns:
- The methodName.
-
getMethodNameBytes
The name of the method containing the execution point represented by the stack trace element
string method_name = 2;- Specified by:
getMethodNameBytesin interfaceStackTraceElementProtoOrBuilder- Returns:
- The bytes for methodName.
-
setMethodName
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
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
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
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:
getFileNamein interfaceStackTraceElementProtoOrBuilder- Returns:
- The fileName.
-
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:
getFileNameBytesin interfaceStackTraceElementProtoOrBuilder- Returns:
- The bytes for fileName.
-
setFileName
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
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
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:
getLineNumberin interfaceStackTraceElementProtoOrBuilder- Returns:
- The lineNumber.
-
setLineNumber
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
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
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-