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 Type Method Description StackTraceElementProto.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
StackTraceElementProto
build()
StackTraceElementProto
buildPartial()
StackTraceElementProto.Builder
clear()
StackTraceElementProto.Builder
clearClassName()
The fully qualified name of the class containing the execution point represented by the stack trace element.StackTraceElementProto.Builder
clearField(Descriptors.FieldDescriptor field)
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.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.StackTraceElementProto.Builder
clearMethodName()
The name of the method containing the execution point represented by the stack trace elementStackTraceElementProto.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
StackTraceElementProto.Builder
clone()
String
getClassName()
The fully qualified name of the class containing the execution point represented by the stack trace element.ByteString
getClassNameBytes()
The fully qualified name of the class containing the execution point represented by the stack trace element.StackTraceElementProto
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
String
getFileName()
The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.ByteString
getFileNameBytes()
The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.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.String
getMethodName()
The name of the method containing the execution point represented by the stack trace elementByteString
getMethodNameBytes()
The name of the method containing the execution point represented by the stack trace elementprotected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StackTraceElementProto.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
StackTraceElementProto.Builder
mergeFrom(Message other)
StackTraceElementProto.Builder
mergeFrom(StackTraceElementProto other)
StackTraceElementProto.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
StackTraceElementProto.Builder
setClassName(String value)
The fully qualified name of the class containing the execution point represented by the stack trace element.StackTraceElementProto.Builder
setClassNameBytes(ByteString value)
The fully qualified name of the class containing the execution point represented by the stack trace element.StackTraceElementProto.Builder
setField(Descriptors.FieldDescriptor field, Object value)
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.StackTraceElementProto.Builder
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.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.StackTraceElementProto.Builder
setMethodName(String value)
The name of the method containing the execution point represented by the stack trace elementStackTraceElementProto.Builder
setMethodNameBytes(ByteString value)
The name of the method containing the execution point represented by the stack trace elementStackTraceElementProto.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
StackTraceElementProto.Builder
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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.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>
-