Package com.linecorp.armeria.common.grpc
Class StackTraceElementProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StackTraceElementProto.Builder>
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.Descriptor
The 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.int
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 elementThe name of the method containing the execution point represented by the stack trace elementprotected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
setField
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clearField
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
setRepeatedField
public StackTraceElementProto.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
addRepeatedField
public StackTraceElementProto.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<StackTraceElementProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeFrom
public StackTraceElementProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in 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:
getClassName
in 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:
getClassNameBytes
in 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:
getMethodName
in 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:
getMethodNameBytes
in 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:
getFileName
in 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:
getFileNameBytes
in 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:
getLineNumber
in 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:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-