类 ThrowablePB.StackTraceElementProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
- org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowablePB.StackTraceElementProto.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ThrowablePB.StackTraceElementProtoOrBuilder
public static final class ThrowablePB.StackTraceElementProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder> implements ThrowablePB.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 typeorg.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 ThrowablePB.StackTraceElementProto.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ThrowablePB.StackTraceElementProtobuild()ThrowablePB.StackTraceElementProtobuildPartial()ThrowablePB.StackTraceElementProto.Builderclear()ThrowablePB.StackTraceElementProto.BuilderclearClassName()The fully qualified name of the class containing the execution point represented by the stack trace element.ThrowablePB.StackTraceElementProto.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ThrowablePB.StackTraceElementProto.BuilderclearFileName()The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.ThrowablePB.StackTraceElementProto.BuilderclearLineNumber()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.ThrowablePB.StackTraceElementProto.BuilderclearMethodName()The name of the method containing the execution point represented by the stack trace elementThrowablePB.StackTraceElementProto.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ThrowablePB.StackTraceElementProto.Builderclone()StringgetClassName()The fully qualified name of the class containing the execution point represented by the stack trace element.com.google.protobuf.ByteStringgetClassNameBytes()The fully qualified name of the class containing the execution point represented by the stack trace element.ThrowablePB.StackTraceElementProtogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFileName()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.ByteStringgetFileNameBytes()The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.intgetLineNumber()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.StringgetMethodName()The name of the method containing the execution point represented by the stack trace elementcom.google.protobuf.ByteStringgetMethodNameBytes()The name of the method containing the execution point represented by the stack trace elementbooleanisInitialized()ThrowablePB.StackTraceElementProto.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ThrowablePB.StackTraceElementProto.BuildermergeFrom(com.google.protobuf.Message other)ThrowablePB.StackTraceElementProto.BuildermergeFrom(ThrowablePB.StackTraceElementProto other)ThrowablePB.StackTraceElementProto.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ThrowablePB.StackTraceElementProto.BuildersetClassName(String value)The fully qualified name of the class containing the execution point represented by the stack trace element.ThrowablePB.StackTraceElementProto.BuildersetClassNameBytes(com.google.protobuf.ByteString value)The fully qualified name of the class containing the execution point represented by the stack trace element.ThrowablePB.StackTraceElementProto.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ThrowablePB.StackTraceElementProto.BuildersetFileName(String value)The name of the file containing the execution point represented by the stack trace element, or null if this information is unavailable.ThrowablePB.StackTraceElementProto.BuildersetFileNameBytes(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.ThrowablePB.StackTraceElementProto.BuildersetLineNumber(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.ThrowablePB.StackTraceElementProto.BuildersetMethodName(String value)The name of the method containing the execution point represented by the stack trace elementThrowablePB.StackTraceElementProto.BuildersetMethodNameBytes(com.google.protobuf.ByteString value)The name of the method containing the execution point represented by the stack trace elementThrowablePB.StackTraceElementProto.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ThrowablePB.StackTraceElementProto.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
-
-
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
clear
public ThrowablePB.StackTraceElementProto.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
getDefaultInstanceForType
public ThrowablePB.StackTraceElementProto getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public ThrowablePB.StackTraceElementProto build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public ThrowablePB.StackTraceElementProto buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public ThrowablePB.StackTraceElementProto.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
setField
public ThrowablePB.StackTraceElementProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
clearField
public ThrowablePB.StackTraceElementProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
clearOneof
public ThrowablePB.StackTraceElementProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
setRepeatedField
public ThrowablePB.StackTraceElementProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
addRepeatedField
public ThrowablePB.StackTraceElementProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
mergeFrom
public ThrowablePB.StackTraceElementProto.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
mergeFrom
public ThrowablePB.StackTraceElementProto.Builder mergeFrom(ThrowablePB.StackTraceElementProto other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
mergeFrom
public ThrowablePB.StackTraceElementProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<ThrowablePB.StackTraceElementProto.Builder>- 抛出:
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;
-
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;
-
setClassName
public ThrowablePB.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;
-
clearClassName
public ThrowablePB.StackTraceElementProto.Builder clearClassName()
The fully qualified name of the class containing the execution point represented by the stack trace element.
string class_name = 1;
-
setClassNameBytes
public ThrowablePB.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;
-
getMethodName
public String getMethodName()
The name of the method containing the execution point represented by the stack trace element
string method_name = 2;
-
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;
-
setMethodName
public ThrowablePB.StackTraceElementProto.Builder setMethodName(String value)
The name of the method containing the execution point represented by the stack trace element
string method_name = 2;
-
clearMethodName
public ThrowablePB.StackTraceElementProto.Builder clearMethodName()
The name of the method containing the execution point represented by the stack trace element
string method_name = 2;
-
setMethodNameBytes
public ThrowablePB.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;
-
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;
-
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;
-
setFileName
public ThrowablePB.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;
-
clearFileName
public ThrowablePB.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;
-
setFileNameBytes
public ThrowablePB.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;
-
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;
-
setLineNumber
public ThrowablePB.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;
-
clearLineNumber
public ThrowablePB.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;
-
setUnknownFields
public final ThrowablePB.StackTraceElementProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
mergeUnknownFields
public final ThrowablePB.StackTraceElementProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.StackTraceElementProto.Builder>
-
-