Package com.linecorp.armeria.common.grpc
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.htmlProtobuf type
armeria.grpc.StackTraceElementProto
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The fully qualified name of the class containing the execution point represented by the stack trace element.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) 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 elementclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
The fully qualified name of the class containing the execution point represented by the stack trace element.com.google.protobuf.ByteString
The fully qualified name of the class containing the execution point represented by the stack trace element.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.com.google.protobuf.ByteString
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 elementcom.google.protobuf.ByteString
The name of the method containing the execution point represented by the stack trace elementprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(StackTraceElementProto other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setClassName
(String value) The fully qualified name of the class containing the execution point represented by the stack trace element.setClassNameBytes
(com.google.protobuf.ByteString value) The fully qualified name of the class containing the execution point represented by the stack trace element.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
(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.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
(com.google.protobuf.ByteString value) The name of the method containing the execution point represented by the stack trace elementsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
setField
public StackTraceElementProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clearField
public StackTraceElementProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
clearOneof
public StackTraceElementProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
addRepeatedField
public StackTraceElementProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StackTraceElementProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.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
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 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
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 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
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 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
public final StackTraceElementProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-
mergeUnknownFields
public final StackTraceElementProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StackTraceElementProto.Builder>
-