Package com.linecorp.armeria.common.grpc
Class ThrowableProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.linecorp.armeria.common.grpc.ThrowableProto
- All Implemented Interfaces:
Message,MessageLite,MessageLiteOrBuilder,MessageOrBuilder,ThrowableProtoOrBuilder,Serializable
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
armeria.grpc.ThrowableProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn exception that was thrown by some code, based on the Java type of the same name.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCause()The cause of this Throwable.The cause of this Throwable.static ThrowableProtostatic final Descriptors.DescriptorThe name of the class of the exception that was actually thrown.The name of the class of the exception that was actually thrown.The message of this throwable.The message of this throwable.intgetStackTrace(int index) The stack trace of this Throwable.intThe stack trace of this Throwable.The stack trace of this Throwable.getStackTraceOrBuilder(int index) The stack trace of this Throwable.List<? extends StackTraceElementProtoOrBuilder>The stack trace of this Throwable.final UnknownFieldSetbooleanhasCause()The cause of this Throwable.inthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ThrowableProto.Builderstatic ThrowableProto.BuildernewBuilder(ThrowableProto prototype) protected ThrowableProto.Builderprotected Objectstatic ThrowableProtoparseDelimitedFrom(InputStream input) static ThrowableProtoparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static ThrowableProtoparseFrom(byte[] data) static ThrowableProtoparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static ThrowableProtoparseFrom(ByteString data) static ThrowableProtoparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static ThrowableProtoparseFrom(CodedInputStream input) static ThrowableProtoparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static ThrowableProtoparseFrom(InputStream input) static ThrowableProtoparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static ThrowableProtoparseFrom(ByteBuffer data) static ThrowableProtoparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<ThrowableProto>parser()voidwriteTo(CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
ORIGINAL_CLASS_NAME_FIELD_NUMBER
public static final int ORIGINAL_CLASS_NAME_FIELD_NUMBER- See Also:
-
ORIGINAL_MESSAGE_FIELD_NUMBER
public static final int ORIGINAL_MESSAGE_FIELD_NUMBER- See Also:
-
STACK_TRACE_FIELD_NUMBER
public static final int STACK_TRACE_FIELD_NUMBER- See Also:
-
CAUSE_FIELD_NUMBER
public static final int CAUSE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
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;- Specified by:
getOriginalClassNamein interfaceThrowableProtoOrBuilder- Returns:
- The originalClassName.
-
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;- Specified by:
getOriginalClassNameBytesin interfaceThrowableProtoOrBuilder- Returns:
- The bytes for originalClassName.
-
getOriginalMessage
The message of this throwable. Not filled if there is no message.
string original_message = 2;- Specified by:
getOriginalMessagein interfaceThrowableProtoOrBuilder- Returns:
- The originalMessage.
-
getOriginalMessageBytes
The message of this throwable. Not filled if there is no message.
string original_message = 2;- Specified by:
getOriginalMessageBytesin interfaceThrowableProtoOrBuilder- Returns:
- The bytes for originalMessage.
-
getStackTraceList
The stack trace of this Throwable.
repeated .armeria.grpc.StackTraceElementProto stack_trace = 3;- Specified by:
getStackTraceListin interfaceThrowableProtoOrBuilder
-
getStackTraceOrBuilderList
The stack trace of this Throwable.
repeated .armeria.grpc.StackTraceElementProto stack_trace = 3;- Specified by:
getStackTraceOrBuilderListin interfaceThrowableProtoOrBuilder
-
getStackTraceCount
public int getStackTraceCount()The stack trace of this Throwable.
repeated .armeria.grpc.StackTraceElementProto stack_trace = 3;- Specified by:
getStackTraceCountin interfaceThrowableProtoOrBuilder
-
getStackTrace
The stack trace of this Throwable.
repeated .armeria.grpc.StackTraceElementProto stack_trace = 3;- Specified by:
getStackTracein interfaceThrowableProtoOrBuilder
-
getStackTraceOrBuilder
The stack trace of this Throwable.
repeated .armeria.grpc.StackTraceElementProto stack_trace = 3;- Specified by:
getStackTraceOrBuilderin interfaceThrowableProtoOrBuilder
-
hasCause
public boolean hasCause()The cause of this Throwable. Not filled if there is no cause.
.armeria.grpc.ThrowableProto cause = 4;- Specified by:
hasCausein interfaceThrowableProtoOrBuilder- Returns:
- Whether the cause field is set.
-
getCause
The cause of this Throwable. Not filled if there is no cause.
.armeria.grpc.ThrowableProto cause = 4;- Specified by:
getCausein interfaceThrowableProtoOrBuilder- Returns:
- The cause.
-
getCauseOrBuilder
The cause of this Throwable. Not filled if there is no cause.
.armeria.grpc.ThrowableProto cause = 4;- Specified by:
getCauseOrBuilderin interfaceThrowableProtoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ThrowableProto parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ThrowableProto parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static ThrowableProto parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ThrowableProto parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ThrowableProto parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ThrowableProto parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-