类 ThrowablePB.ThrowableProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
- org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowablePB.ThrowableProto.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ThrowablePB.ThrowableProtoOrBuilder
public static final class ThrowablePB.ThrowableProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder> 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
-
-
方法概要
-
从类继承的方法 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.ThrowableProto.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.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.ThrowableProto.Builder>
-
getDefaultInstanceForType
public ThrowablePB.ThrowableProto getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public ThrowablePB.ThrowableProto build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public ThrowablePB.ThrowableProto buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public ThrowablePB.ThrowableProto.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
setField
public ThrowablePB.ThrowableProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
clearField
public ThrowablePB.ThrowableProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
clearOneof
public ThrowablePB.ThrowableProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
setRepeatedField
public ThrowablePB.ThrowableProto.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.ThrowableProto.Builder>
-
addRepeatedField
public ThrowablePB.ThrowableProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
mergeFrom
public ThrowablePB.ThrowableProto.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<ThrowablePB.ThrowableProto.Builder>
-
mergeFrom
public ThrowablePB.ThrowableProto.Builder mergeFrom(ThrowablePB.ThrowableProto other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
mergeFrom
public ThrowablePB.ThrowableProto.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.ThrowableProto.Builder>- 抛出:
IOException
-
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;
-
setOriginalClassName
public ThrowablePB.ThrowableProto.Builder setOriginalClassName(String value)
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;
-
clearOriginalClassName
public ThrowablePB.ThrowableProto.Builder clearOriginalClassName()
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;
-
setOriginalClassNameBytes
public ThrowablePB.ThrowableProto.Builder setOriginalClassNameBytes(com.google.protobuf.ByteString value)
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;
-
setOriginalMessage
public ThrowablePB.ThrowableProto.Builder setOriginalMessage(String value)
The message of this throwable. Not filled if there is no message.
string original_message = 2;
-
clearOriginalMessage
public ThrowablePB.ThrowableProto.Builder clearOriginalMessage()
The message of this throwable. Not filled if there is no message.
string original_message = 2;
-
setOriginalMessageBytes
public ThrowablePB.ThrowableProto.Builder setOriginalMessageBytes(com.google.protobuf.ByteString value)
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;
-
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;
-
setStackTrace
public ThrowablePB.ThrowableProto.Builder setStackTrace(int index, ThrowablePB.StackTraceElementProto value)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
setStackTrace
public ThrowablePB.ThrowableProto.Builder setStackTrace(int index, ThrowablePB.StackTraceElementProto.Builder builderForValue)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
addStackTrace
public ThrowablePB.ThrowableProto.Builder addStackTrace(ThrowablePB.StackTraceElementProto value)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
addStackTrace
public ThrowablePB.ThrowableProto.Builder addStackTrace(int index, ThrowablePB.StackTraceElementProto value)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
addStackTrace
public ThrowablePB.ThrowableProto.Builder addStackTrace(ThrowablePB.StackTraceElementProto.Builder builderForValue)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
addStackTrace
public ThrowablePB.ThrowableProto.Builder addStackTrace(int index, ThrowablePB.StackTraceElementProto.Builder builderForValue)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
addAllStackTrace
public ThrowablePB.ThrowableProto.Builder addAllStackTrace(Iterable<? extends ThrowablePB.StackTraceElementProto> values)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
clearStackTrace
public ThrowablePB.ThrowableProto.Builder clearStackTrace()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
removeStackTrace
public ThrowablePB.ThrowableProto.Builder removeStackTrace(int index)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
getStackTraceBuilder
public ThrowablePB.StackTraceElementProto.Builder getStackTraceBuilder(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;
-
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;
-
addStackTraceBuilder
public ThrowablePB.StackTraceElementProto.Builder addStackTraceBuilder()
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
addStackTraceBuilder
public ThrowablePB.StackTraceElementProto.Builder addStackTraceBuilder(int index)
The stack trace of this Throwable.
repeated .org.apache.dubbo.common.serialize.protobuf.support.wrapper.StackTraceElementProto stack_trace = 3;
-
getStackTraceBuilderList
public List<ThrowablePB.StackTraceElementProto.Builder> getStackTraceBuilderList()
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
-
setCause
public ThrowablePB.ThrowableProto.Builder setCause(ThrowablePB.ThrowableProto value)
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;
-
setCause
public ThrowablePB.ThrowableProto.Builder setCause(ThrowablePB.ThrowableProto.Builder builderForValue)
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;
-
mergeCause
public ThrowablePB.ThrowableProto.Builder mergeCause(ThrowablePB.ThrowableProto value)
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;
-
clearCause
public ThrowablePB.ThrowableProto.Builder clearCause()
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;
-
getCauseBuilder
public ThrowablePB.ThrowableProto.Builder getCauseBuilder()
The cause of this Throwable. Not filled if there is no cause.
.org.apache.dubbo.common.serialize.protobuf.support.wrapper.ThrowableProto cause = 4;
-
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;
-
setUnknownFields
public final ThrowablePB.ThrowableProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
mergeUnknownFields
public final ThrowablePB.ThrowableProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ThrowablePB.ThrowableProto.Builder>
-
-