Package org.apache.drill.exec.proto
Class UserBitShared.ExceptionWrapper.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
org.apache.drill.exec.proto.UserBitShared.ExceptionWrapper.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserBitShared.ExceptionWrapperOrBuilder
- Enclosing class:
- UserBitShared.ExceptionWrapper
public static final class UserBitShared.ExceptionWrapper.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
implements UserBitShared.ExceptionWrapperOrBuilder
Protobuf type
exec.shared.ExceptionWrapper
-
Method Summary
Modifier and TypeMethodDescriptionaddAllStackTrace
(Iterable<? extends UserBitShared.StackTraceElementWrapper> values) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addStackTrace
(int index, UserBitShared.StackTraceElementWrapper value) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
addStackTrace
(int index, UserBitShared.StackTraceElementWrapper.Builder builderForValue) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
addStackTrace
(UserBitShared.StackTraceElementWrapper.Builder builderForValue) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
addStackTraceBuilder
(int index) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
build()
clear()
optional .exec.shared.ExceptionWrapper cause = 4;
optional string exception_class = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string message = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
clone()
getCause()
optional .exec.shared.ExceptionWrapper cause = 4;
optional .exec.shared.ExceptionWrapper cause = 4;
optional .exec.shared.ExceptionWrapper cause = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string exception_class = 1;
com.google.protobuf.ByteString
optional string exception_class = 1;
optional string message = 2;
com.google.protobuf.ByteString
optional string message = 2;
getStackTrace
(int index) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
getStackTraceBuilder
(int index) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
int
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
getStackTraceOrBuilder
(int index) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
boolean
hasCause()
optional .exec.shared.ExceptionWrapper cause = 4;
boolean
optional string exception_class = 1;
boolean
optional string message = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .exec.shared.ExceptionWrapper cause = 4;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeStackTrace
(int index) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
optional .exec.shared.ExceptionWrapper cause = 4;
setCause
(UserBitShared.ExceptionWrapper.Builder builderForValue) optional .exec.shared.ExceptionWrapper cause = 4;
setExceptionClass
(String value) optional string exception_class = 1;
setExceptionClassBytes
(com.google.protobuf.ByteString value) optional string exception_class = 1;
setMessage
(String value) optional string message = 2;
setMessageBytes
(com.google.protobuf.ByteString value) optional string message = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStackTrace
(int index, UserBitShared.StackTraceElementWrapper value) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
setStackTrace
(int index, UserBitShared.StackTraceElementWrapper.Builder builderForValue) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
setField
public UserBitShared.ExceptionWrapper.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
clearField
public UserBitShared.ExceptionWrapper.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
clearOneof
public UserBitShared.ExceptionWrapper.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
setRepeatedField
public UserBitShared.ExceptionWrapper.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
addRepeatedField
public UserBitShared.ExceptionWrapper.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.ExceptionWrapper.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
mergeFrom
public UserBitShared.ExceptionWrapper.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.ExceptionWrapper.Builder>
- Throws:
IOException
-
hasExceptionClass
public boolean hasExceptionClass()optional string exception_class = 1;
- Specified by:
hasExceptionClass
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- Whether the exceptionClass field is set.
-
getExceptionClass
optional string exception_class = 1;
- Specified by:
getExceptionClass
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- The exceptionClass.
-
getExceptionClassBytes
public com.google.protobuf.ByteString getExceptionClassBytes()optional string exception_class = 1;
- Specified by:
getExceptionClassBytes
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- The bytes for exceptionClass.
-
setExceptionClass
optional string exception_class = 1;
- Parameters:
value
- The exceptionClass to set.- Returns:
- This builder for chaining.
-
clearExceptionClass
optional string exception_class = 1;
- Returns:
- This builder for chaining.
-
setExceptionClassBytes
public UserBitShared.ExceptionWrapper.Builder setExceptionClassBytes(com.google.protobuf.ByteString value) optional string exception_class = 1;
- Parameters:
value
- The bytes for exceptionClass to set.- Returns:
- This builder for chaining.
-
hasMessage
public boolean hasMessage()optional string message = 2;
- Specified by:
hasMessage
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
optional string message = 2;
- Specified by:
getMessage
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()optional string message = 2;
- Specified by:
getMessageBytes
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- The bytes for message.
-
setMessage
optional string message = 2;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
optional string message = 2;
- Returns:
- This builder for chaining.
-
setMessageBytes
optional string message = 2;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
getStackTraceList
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
- Specified by:
getStackTraceList
in interfaceUserBitShared.ExceptionWrapperOrBuilder
-
getStackTraceCount
public int getStackTraceCount()repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
- Specified by:
getStackTraceCount
in interfaceUserBitShared.ExceptionWrapperOrBuilder
-
getStackTrace
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
- Specified by:
getStackTrace
in interfaceUserBitShared.ExceptionWrapperOrBuilder
-
addAllStackTrace
public UserBitShared.ExceptionWrapper.Builder addAllStackTrace(Iterable<? extends UserBitShared.StackTraceElementWrapper> values) repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
-
clearStackTrace
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
-
removeStackTrace
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
-
getStackTraceBuilder
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
-
getStackTraceOrBuilder
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
- Specified by:
getStackTraceOrBuilder
in interfaceUserBitShared.ExceptionWrapperOrBuilder
-
getStackTraceOrBuilderList
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
- Specified by:
getStackTraceOrBuilderList
in interfaceUserBitShared.ExceptionWrapperOrBuilder
-
addStackTraceBuilder
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
-
addStackTraceBuilder
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
-
getStackTraceBuilderList
repeated .exec.shared.StackTraceElementWrapper stack_trace = 3;
-
hasCause
public boolean hasCause()optional .exec.shared.ExceptionWrapper cause = 4;
- Specified by:
hasCause
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- Whether the cause field is set.
-
getCause
optional .exec.shared.ExceptionWrapper cause = 4;
- Specified by:
getCause
in interfaceUserBitShared.ExceptionWrapperOrBuilder
- Returns:
- The cause.
-
clearCause
optional .exec.shared.ExceptionWrapper cause = 4;
-
getCauseBuilder
optional .exec.shared.ExceptionWrapper cause = 4;
-
getCauseOrBuilder
optional .exec.shared.ExceptionWrapper cause = 4;
- Specified by:
getCauseOrBuilder
in interfaceUserBitShared.ExceptionWrapperOrBuilder
-
setUnknownFields
public final UserBitShared.ExceptionWrapper.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-
mergeUnknownFields
public final UserBitShared.ExceptionWrapper.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.ExceptionWrapper.Builder>
-