Package org.apache.drill.exec.proto
Interface UserBitShared.DrillPBErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserBitShared.DrillPBError,UserBitShared.DrillPBError.Builder
- Enclosing class:
UserBitShared
public static interface UserBitShared.DrillPBErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional .exec.DrillbitEndpoint endpoint = 2;optional .exec.DrillbitEndpoint endpoint = 2;for debug tracing purposescom.google.protobuf.ByteStringfor debug tracing purposesoptional .exec.shared.DrillPBError.ErrorType error_type = 3;optional .exec.shared.ExceptionWrapper exception = 5;optional .exec.shared.ExceptionWrapper exception = 5;optional string message = 4;com.google.protobuf.ByteStringoptional string message = 4;getParsingError(int index) optional, used when providing location of error within a piece of text.intoptional, 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.booleanoptional .exec.DrillbitEndpoint endpoint = 2;booleanfor debug tracing purposesbooleanoptional .exec.shared.DrillPBError.ErrorType error_type = 3;booleanoptional .exec.shared.ExceptionWrapper exception = 5;booleanoptional string message = 4;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasErrorId
boolean hasErrorId()for debug tracing purposes
optional string error_id = 1;- Returns:
- Whether the errorId field is set.
-
getErrorId
String getErrorId()for debug tracing purposes
optional string error_id = 1;- Returns:
- The errorId.
-
getErrorIdBytes
com.google.protobuf.ByteString getErrorIdBytes()for debug tracing purposes
optional string error_id = 1;- Returns:
- The bytes for errorId.
-
hasEndpoint
boolean hasEndpoint()optional .exec.DrillbitEndpoint endpoint = 2;- Returns:
- Whether the endpoint field is set.
-
getEndpoint
CoordinationProtos.DrillbitEndpoint getEndpoint()optional .exec.DrillbitEndpoint endpoint = 2;- Returns:
- The endpoint.
-
getEndpointOrBuilder
CoordinationProtos.DrillbitEndpointOrBuilder getEndpointOrBuilder()optional .exec.DrillbitEndpoint endpoint = 2; -
hasErrorType
boolean hasErrorType()optional .exec.shared.DrillPBError.ErrorType error_type = 3;- Returns:
- Whether the errorType field is set.
-
getErrorType
UserBitShared.DrillPBError.ErrorType getErrorType()optional .exec.shared.DrillPBError.ErrorType error_type = 3;- Returns:
- The errorType.
-
hasMessage
boolean hasMessage()optional string message = 4;- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()optional string message = 4;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()optional string message = 4;- Returns:
- The bytes for message.
-
hasException
boolean hasException()optional .exec.shared.ExceptionWrapper exception = 5;- Returns:
- Whether the exception field is set.
-
getException
UserBitShared.ExceptionWrapper getException()optional .exec.shared.ExceptionWrapper exception = 5;- Returns:
- The exception.
-
getExceptionOrBuilder
UserBitShared.ExceptionWrapperOrBuilder getExceptionOrBuilder()optional .exec.shared.ExceptionWrapper exception = 5; -
getParsingErrorList
List<UserBitShared.ParsingError> getParsingErrorList()optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6; -
getParsingError
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6; -
getParsingErrorCount
int getParsingErrorCount()optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6; -
getParsingErrorOrBuilderList
List<? extends UserBitShared.ParsingErrorOrBuilder> getParsingErrorOrBuilderList()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;
-