类 ThrowablePB.ThrowableProto
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowablePB.ThrowableProto
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ThrowablePB.ThrowableProtoOrBuilder
- 封闭类:
- ThrowablePB
public static final class ThrowablePB.ThrowableProto extends com.google.protobuf.GeneratedMessageV3 implements ThrowablePB.ThrowableProtoOrBuilder
An exception that was thrown by some code, based on the Java type of the same name. See: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html
Protobuf typeorg.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classThrowablePB.ThrowableProto.BuilderAn exception that was thrown by some code, based on the Java type of the same name.-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCAUSE_FIELD_NUMBERstatic intORIGINAL_CLASS_NAME_FIELD_NUMBERstatic intORIGINAL_MESSAGE_FIELD_NUMBERstatic intSTACK_TRACE_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)ThrowablePB.ThrowableProtogetCause()The cause of this Throwable.ThrowablePB.ThrowableProtoOrBuildergetCauseOrBuilder()The cause of this Throwable.static ThrowablePB.ThrowableProtogetDefaultInstance()ThrowablePB.ThrowableProtogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetOriginalClassName()The name of the class of the exception that was actually thrown.com.google.protobuf.ByteStringgetOriginalClassNameBytes()The name of the class of the exception that was actually thrown.StringgetOriginalMessage()The message of this throwable.com.google.protobuf.ByteStringgetOriginalMessageBytes()The message of this throwable.com.google.protobuf.Parser<ThrowablePB.ThrowableProto>getParserForType()intgetSerializedSize()ThrowablePB.StackTraceElementProtogetStackTrace(int index)The stack trace of this Throwable.intgetStackTraceCount()The stack trace of this Throwable.List<ThrowablePB.StackTraceElementProto>getStackTraceList()The stack trace of this Throwable.ThrowablePB.StackTraceElementProtoOrBuildergetStackTraceOrBuilder(int index)The stack trace of this Throwable.List<? extends ThrowablePB.StackTraceElementProtoOrBuilder>getStackTraceOrBuilderList()The stack trace of this Throwable.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCause()The cause of this Throwable.inthashCode()booleanisInitialized()static ThrowablePB.ThrowableProto.BuildernewBuilder()static ThrowablePB.ThrowableProto.BuildernewBuilder(ThrowablePB.ThrowableProto prototype)ThrowablePB.ThrowableProto.BuildernewBuilderForType()static ThrowablePB.ThrowableProtoparseDelimitedFrom(InputStream input)static ThrowablePB.ThrowableProtoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThrowablePB.ThrowableProtoparseFrom(byte[] data)static ThrowablePB.ThrowableProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThrowablePB.ThrowableProtoparseFrom(com.google.protobuf.ByteString data)static ThrowablePB.ThrowableProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThrowablePB.ThrowableProtoparseFrom(com.google.protobuf.CodedInputStream input)static ThrowablePB.ThrowableProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThrowablePB.ThrowableProtoparseFrom(InputStream input)static ThrowablePB.ThrowableProtoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThrowablePB.ThrowableProtoparseFrom(ByteBuffer data)static ThrowablePB.ThrowableProtoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ThrowablePB.ThrowableProto>parser()ThrowablePB.ThrowableProto.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString
-
-
-
-
字段详细资料
-
ORIGINAL_CLASS_NAME_FIELD_NUMBER
public static final int ORIGINAL_CLASS_NAME_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
ORIGINAL_MESSAGE_FIELD_NUMBER
public static final int ORIGINAL_MESSAGE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
STACK_TRACE_FIELD_NUMBER
public static final int STACK_TRACE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getOriginalClassName
public String getOriginalClassName()
The name of the class of the exception that was actually thrown. Downstream readers of this message may or may not have the actual class available to initialize, so this is just used to prefix the message of a generic exception type.
string original_class_name = 1;
-
getOriginalClassNameBytes
public com.google.protobuf.ByteString getOriginalClassNameBytes()
The name of the class of the exception that was actually thrown. Downstream readers of this message may or may not have the actual class available to initialize, so this is just used to prefix the message of a generic exception type.
string original_class_name = 1;
-
getOriginalMessage
public String getOriginalMessage()
The message of this throwable. Not filled if there is no message.
string original_message = 2;
-
getOriginalMessageBytes
public com.google.protobuf.ByteString getOriginalMessageBytes()
The message of this throwable. Not filled if there is no message.
string original_message = 2;
-
getStackTraceList
public List<ThrowablePB.StackTraceElementProto> getStackTraceList()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
getStackTraceOrBuilderList
public List<? extends ThrowablePB.StackTraceElementProtoOrBuilder> getStackTraceOrBuilderList()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
getStackTraceCount
public int getStackTraceCount()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
getStackTrace
public ThrowablePB.StackTraceElementProto getStackTrace(int index)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
getStackTraceOrBuilder
public ThrowablePB.StackTraceElementProtoOrBuilder getStackTraceOrBuilder(int index)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
hasCause
public boolean hasCause()
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;- 指定者:
hasCause在接口中ThrowablePB.ThrowableProtoOrBuilder
-
getCause
public ThrowablePB.ThrowableProto getCause()
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;- 指定者:
getCause在接口中ThrowablePB.ThrowableProtoOrBuilder
-
getCauseOrBuilder
public ThrowablePB.ThrowableProtoOrBuilder getCauseOrBuilder()
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static ThrowablePB.ThrowableProto parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static ThrowablePB.ThrowableProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public ThrowablePB.ThrowableProto.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static ThrowablePB.ThrowableProto.Builder newBuilder()
-
newBuilder
public static ThrowablePB.ThrowableProto.Builder newBuilder(ThrowablePB.ThrowableProto prototype)
-
toBuilder
public ThrowablePB.ThrowableProto.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
getDefaultInstance
public static ThrowablePB.ThrowableProto getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ThrowablePB.ThrowableProto> parser()
-
getParserForType
public com.google.protobuf.Parser<ThrowablePB.ThrowableProto> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ThrowablePB.ThrowableProto getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-