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.htmlProtobuf type
org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto| Modifier and Type | Class and Description |
|---|---|
static class |
ThrowablePB.ThrowableProto.Builder
An exception that was thrown by some code, based on the Java type of the same name.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
CAUSE_FIELD_NUMBER |
static int |
ORIGINAL_CLASS_NAME_FIELD_NUMBER |
static int |
ORIGINAL_MESSAGE_FIELD_NUMBER |
static int |
STACK_TRACE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ThrowablePB.ThrowableProto |
getCause()
The cause of this Throwable.
|
ThrowablePB.ThrowableProtoOrBuilder |
getCauseOrBuilder()
The cause of this Throwable.
|
static ThrowablePB.ThrowableProto |
getDefaultInstance() |
ThrowablePB.ThrowableProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getOriginalClassName()
The name of the class of the exception that was actually thrown.
|
com.google.protobuf.ByteString |
getOriginalClassNameBytes()
The name of the class of the exception that was actually thrown.
|
String |
getOriginalMessage()
The message of this throwable.
|
com.google.protobuf.ByteString |
getOriginalMessageBytes()
The message of this throwable.
|
com.google.protobuf.Parser<ThrowablePB.ThrowableProto> |
getParserForType() |
int |
getSerializedSize() |
ThrowablePB.StackTraceElementProto |
getStackTrace(int index)
The stack trace of this Throwable.
|
int |
getStackTraceCount()
The stack trace of this Throwable.
|
List<ThrowablePB.StackTraceElementProto> |
getStackTraceList()
The stack trace of this Throwable.
|
ThrowablePB.StackTraceElementProtoOrBuilder |
getStackTraceOrBuilder(int index)
The stack trace of this Throwable.
|
List<? extends ThrowablePB.StackTraceElementProtoOrBuilder> |
getStackTraceOrBuilderList()
The stack trace of this Throwable.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCause()
The cause of this Throwable.
|
int |
hashCode() |
boolean |
isInitialized() |
static ThrowablePB.ThrowableProto.Builder |
newBuilder() |
static ThrowablePB.ThrowableProto.Builder |
newBuilder(ThrowablePB.ThrowableProto prototype) |
ThrowablePB.ThrowableProto.Builder |
newBuilderForType() |
static ThrowablePB.ThrowableProto |
parseDelimitedFrom(InputStream input) |
static ThrowablePB.ThrowableProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThrowablePB.ThrowableProto |
parseFrom(byte[] data) |
static ThrowablePB.ThrowableProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThrowablePB.ThrowableProto |
parseFrom(ByteBuffer data) |
static ThrowablePB.ThrowableProto |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThrowablePB.ThrowableProto |
parseFrom(com.google.protobuf.ByteString data) |
static ThrowablePB.ThrowableProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThrowablePB.ThrowableProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ThrowablePB.ThrowableProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThrowablePB.ThrowableProto |
parseFrom(InputStream input) |
static ThrowablePB.ThrowableProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ThrowablePB.ThrowableProto> |
parser() |
ThrowablePB.ThrowableProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ORIGINAL_CLASS_NAME_FIELD_NUMBER
public static final int ORIGINAL_MESSAGE_FIELD_NUMBER
public static final int STACK_TRACE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
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;getOriginalClassName in interface ThrowablePB.ThrowableProtoOrBuilderpublic 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;getOriginalClassNameBytes in interface ThrowablePB.ThrowableProtoOrBuilderpublic String getOriginalMessage()
The message of this throwable. Not filled if there is no message.
string original_message = 2;getOriginalMessage in interface ThrowablePB.ThrowableProtoOrBuilderpublic com.google.protobuf.ByteString getOriginalMessageBytes()
The message of this throwable. Not filled if there is no message.
string original_message = 2;getOriginalMessageBytes in interface ThrowablePB.ThrowableProtoOrBuilderpublic List<ThrowablePB.StackTraceElementProto> getStackTraceList()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;getStackTraceList in interface ThrowablePB.ThrowableProtoOrBuilderpublic List<? extends ThrowablePB.StackTraceElementProtoOrBuilder> getStackTraceOrBuilderList()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;getStackTraceOrBuilderList in interface ThrowablePB.ThrowableProtoOrBuilderpublic int getStackTraceCount()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;getStackTraceCount in interface ThrowablePB.ThrowableProtoOrBuilderpublic ThrowablePB.StackTraceElementProto getStackTrace(int index)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;getStackTrace in interface ThrowablePB.ThrowableProtoOrBuilderpublic ThrowablePB.StackTraceElementProtoOrBuilder getStackTraceOrBuilder(int index)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;getStackTraceOrBuilder in interface ThrowablePB.ThrowableProtoOrBuilderpublic 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 in interface ThrowablePB.ThrowableProtoOrBuilderpublic 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 in interface ThrowablePB.ThrowableProtoOrBuilderpublic 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;getCauseOrBuilder in interface ThrowablePB.ThrowableProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ThrowablePB.ThrowableProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThrowablePB.ThrowableProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThrowablePB.ThrowableProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThrowablePB.ThrowableProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThrowablePB.ThrowableProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ThrowablePB.ThrowableProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThrowablePB.ThrowableProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ThrowablePB.ThrowableProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ThrowablePB.ThrowableProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ThrowablePB.ThrowableProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ThrowablePB.ThrowableProto.Builder newBuilder()
public static ThrowablePB.ThrowableProto.Builder newBuilder(ThrowablePB.ThrowableProto prototype)
public ThrowablePB.ThrowableProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static ThrowablePB.ThrowableProto getDefaultInstance()
public static com.google.protobuf.Parser<ThrowablePB.ThrowableProto> parser()
public com.google.protobuf.Parser<ThrowablePB.ThrowableProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ThrowablePB.ThrowableProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.