Package org.apache.drill.exec.proto
Class UserBitShared.DrillPBError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
org.apache.drill.exec.proto.UserBitShared.DrillPBError.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserBitShared.DrillPBErrorOrBuilder
- Enclosing class:
- UserBitShared.DrillPBError
public static final class UserBitShared.DrillPBError.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
implements UserBitShared.DrillPBErrorOrBuilder
Protobuf type
exec.shared.DrillPBError
-
Method Summary
Modifier and TypeMethodDescriptionaddAllParsingError
(Iterable<? extends UserBitShared.ParsingError> values) optional, used when providing location of error within a piece of text.addParsingError
(int index, UserBitShared.ParsingError value) optional, used when providing location of error within a piece of text.addParsingError
(int index, UserBitShared.ParsingError.Builder builderForValue) optional, used when providing location of error within a piece of text.optional, used when providing location of error within a piece of text.addParsingError
(UserBitShared.ParsingError.Builder builderForValue) optional, used when providing location of error within a piece of text.optional, used when providing location of error within a piece of text.addParsingErrorBuilder
(int index) optional, used when providing location of error within a piece of text.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .exec.DrillbitEndpoint endpoint = 2;
for debug tracing purposesoptional .exec.shared.DrillPBError.ErrorType error_type = 3;
optional .exec.shared.ExceptionWrapper exception = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string message = 4;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional, used when providing location of error within a piece of text.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional .exec.DrillbitEndpoint endpoint = 2;
optional .exec.DrillbitEndpoint endpoint = 2;
optional .exec.DrillbitEndpoint endpoint = 2;
for debug tracing purposescom.google.protobuf.ByteString
for debug tracing purposesoptional .exec.shared.DrillPBError.ErrorType error_type = 3;
optional .exec.shared.ExceptionWrapper exception = 5;
optional .exec.shared.ExceptionWrapper exception = 5;
optional .exec.shared.ExceptionWrapper exception = 5;
optional string message = 4;
com.google.protobuf.ByteString
optional string message = 4;
getParsingError
(int index) optional, used when providing location of error within a piece of text.getParsingErrorBuilder
(int index) optional, used when providing location of error within a piece of text.optional, used when providing location of error within a piece of text.int
optional, used when providing location of error within a piece of text.optional, used when providing location of error within a piece of text.getParsingErrorOrBuilder
(int index) optional, used when providing location of error within a piece of text.List<? extends UserBitShared.ParsingErrorOrBuilder>
optional, used when providing location of error within a piece of text.boolean
optional .exec.DrillbitEndpoint endpoint = 2;
boolean
for debug tracing purposesboolean
optional .exec.shared.DrillPBError.ErrorType error_type = 3;
boolean
optional .exec.shared.ExceptionWrapper exception = 5;
boolean
optional string message = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .exec.DrillbitEndpoint endpoint = 2;
optional .exec.shared.ExceptionWrapper exception = 5;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeParsingError
(int index) optional, used when providing location of error within a piece of text.optional .exec.DrillbitEndpoint endpoint = 2;
setEndpoint
(CoordinationProtos.DrillbitEndpoint.Builder builderForValue) optional .exec.DrillbitEndpoint endpoint = 2;
setErrorId
(String value) for debug tracing purposessetErrorIdBytes
(com.google.protobuf.ByteString value) for debug tracing purposesoptional .exec.shared.DrillPBError.ErrorType error_type = 3;
optional .exec.shared.ExceptionWrapper exception = 5;
setException
(UserBitShared.ExceptionWrapper.Builder builderForValue) optional .exec.shared.ExceptionWrapper exception = 5;
setMessage
(String value) optional string message = 4;
setMessageBytes
(com.google.protobuf.ByteString value) optional string message = 4;
setParsingError
(int index, UserBitShared.ParsingError value) optional, used when providing location of error within a piece of text.setParsingError
(int index, UserBitShared.ParsingError.Builder builderForValue) optional, used when providing location of error within a piece of text.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.DrillPBError.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.DrillPBError.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.DrillPBError.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.DrillPBError.Builder>
-
setField
public UserBitShared.DrillPBError.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.DrillPBError.Builder>
-
clearField
public UserBitShared.DrillPBError.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.DrillPBError.Builder>
-
clearOneof
public UserBitShared.DrillPBError.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.DrillPBError.Builder>
-
setRepeatedField
public UserBitShared.DrillPBError.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.DrillPBError.Builder>
-
addRepeatedField
public UserBitShared.DrillPBError.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.DrillPBError.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.DrillPBError.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
mergeFrom
public UserBitShared.DrillPBError.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.DrillPBError.Builder>
- Throws:
IOException
-
hasErrorId
public boolean hasErrorId()for debug tracing purposes
optional string error_id = 1;
- Specified by:
hasErrorId
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- Whether the errorId field is set.
-
getErrorId
for debug tracing purposes
optional string error_id = 1;
- Specified by:
getErrorId
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- The errorId.
-
getErrorIdBytes
public com.google.protobuf.ByteString getErrorIdBytes()for debug tracing purposes
optional string error_id = 1;
- Specified by:
getErrorIdBytes
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- The bytes for errorId.
-
setErrorId
for debug tracing purposes
optional string error_id = 1;
- Parameters:
value
- The errorId to set.- Returns:
- This builder for chaining.
-
clearErrorId
for debug tracing purposes
optional string error_id = 1;
- Returns:
- This builder for chaining.
-
setErrorIdBytes
for debug tracing purposes
optional string error_id = 1;
- Parameters:
value
- The bytes for errorId to set.- Returns:
- This builder for chaining.
-
hasEndpoint
public boolean hasEndpoint()optional .exec.DrillbitEndpoint endpoint = 2;
- Specified by:
hasEndpoint
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- Whether the endpoint field is set.
-
getEndpoint
optional .exec.DrillbitEndpoint endpoint = 2;
- Specified by:
getEndpoint
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- The endpoint.
-
setEndpoint
optional .exec.DrillbitEndpoint endpoint = 2;
-
setEndpoint
public UserBitShared.DrillPBError.Builder setEndpoint(CoordinationProtos.DrillbitEndpoint.Builder builderForValue) optional .exec.DrillbitEndpoint endpoint = 2;
-
mergeEndpoint
optional .exec.DrillbitEndpoint endpoint = 2;
-
clearEndpoint
optional .exec.DrillbitEndpoint endpoint = 2;
-
getEndpointBuilder
optional .exec.DrillbitEndpoint endpoint = 2;
-
getEndpointOrBuilder
optional .exec.DrillbitEndpoint endpoint = 2;
- Specified by:
getEndpointOrBuilder
in interfaceUserBitShared.DrillPBErrorOrBuilder
-
hasErrorType
public boolean hasErrorType()optional .exec.shared.DrillPBError.ErrorType error_type = 3;
- Specified by:
hasErrorType
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- Whether the errorType field is set.
-
getErrorType
optional .exec.shared.DrillPBError.ErrorType error_type = 3;
- Specified by:
getErrorType
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- The errorType.
-
clearErrorType
optional .exec.shared.DrillPBError.ErrorType error_type = 3;
- Returns:
- This builder for chaining.
-
hasMessage
public boolean hasMessage()optional string message = 4;
- Specified by:
hasMessage
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
optional string message = 4;
- Specified by:
getMessage
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()optional string message = 4;
- Specified by:
getMessageBytes
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- The bytes for message.
-
setMessage
optional string message = 4;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
optional string message = 4;
- Returns:
- This builder for chaining.
-
setMessageBytes
optional string message = 4;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
hasException
public boolean hasException()optional .exec.shared.ExceptionWrapper exception = 5;
- Specified by:
hasException
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- Whether the exception field is set.
-
getException
optional .exec.shared.ExceptionWrapper exception = 5;
- Specified by:
getException
in interfaceUserBitShared.DrillPBErrorOrBuilder
- Returns:
- The exception.
-
clearException
optional .exec.shared.ExceptionWrapper exception = 5;
-
getExceptionBuilder
optional .exec.shared.ExceptionWrapper exception = 5;
-
getExceptionOrBuilder
optional .exec.shared.ExceptionWrapper exception = 5;
- Specified by:
getExceptionOrBuilder
in interfaceUserBitShared.DrillPBErrorOrBuilder
-
getParsingErrorList
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
- Specified by:
getParsingErrorList
in interfaceUserBitShared.DrillPBErrorOrBuilder
-
getParsingErrorCount
public int getParsingErrorCount()optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
- Specified by:
getParsingErrorCount
in interfaceUserBitShared.DrillPBErrorOrBuilder
-
getParsingError
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
- Specified by:
getParsingError
in interfaceUserBitShared.DrillPBErrorOrBuilder
-
addAllParsingError
public UserBitShared.DrillPBError.Builder addAllParsingError(Iterable<? extends UserBitShared.ParsingError> values) optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
-
clearParsingError
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
-
removeParsingError
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
-
getParsingErrorBuilder
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
-
getParsingErrorOrBuilder
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
- Specified by:
getParsingErrorOrBuilder
in interfaceUserBitShared.DrillPBErrorOrBuilder
-
getParsingErrorOrBuilderList
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
- Specified by:
getParsingErrorOrBuilderList
in interfaceUserBitShared.DrillPBErrorOrBuilder
-
addParsingErrorBuilder
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
-
addParsingErrorBuilder
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
-
getParsingErrorBuilderList
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;
-
setUnknownFields
public final UserBitShared.DrillPBError.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.DrillPBError.Builder>
-
mergeUnknownFields
public final UserBitShared.DrillPBError.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.DrillPBError.Builder>
-