Package org.apache.drill.exec.proto
Class UserBitShared.DrillPBError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UserBitShared.DrillPBError.Builder>
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.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional .exec.DrillbitEndpoint endpoint = 2;optional .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 .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.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.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;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanoptional .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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
setField
public UserBitShared.DrillPBError.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
clearField
public UserBitShared.DrillPBError.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
clearOneof
public UserBitShared.DrillPBError.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
addRepeatedField
public UserBitShared.DrillPBError.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.DrillPBError.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasErrorIdin interfaceUserBitShared.DrillPBErrorOrBuilder- Returns:
- Whether the errorId field is set.
-
getErrorId
for debug tracing purposes
optional string error_id = 1;- Specified by:
getErrorIdin interfaceUserBitShared.DrillPBErrorOrBuilder- Returns:
- The errorId.
-
getErrorIdBytes
public com.google.protobuf.ByteString getErrorIdBytes()for debug tracing purposes
optional string error_id = 1;- Specified by:
getErrorIdBytesin 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:
hasEndpointin interfaceUserBitShared.DrillPBErrorOrBuilder- Returns:
- Whether the endpoint field is set.
-
getEndpoint
optional .exec.DrillbitEndpoint endpoint = 2;- Specified by:
getEndpointin 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:
getEndpointOrBuilderin interfaceUserBitShared.DrillPBErrorOrBuilder
-
hasErrorType
public boolean hasErrorType()optional .exec.shared.DrillPBError.ErrorType error_type = 3;- Specified by:
hasErrorTypein interfaceUserBitShared.DrillPBErrorOrBuilder- Returns:
- Whether the errorType field is set.
-
getErrorType
optional .exec.shared.DrillPBError.ErrorType error_type = 3;- Specified by:
getErrorTypein 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:
hasMessagein interfaceUserBitShared.DrillPBErrorOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
optional string message = 4;- Specified by:
getMessagein interfaceUserBitShared.DrillPBErrorOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()optional string message = 4;- Specified by:
getMessageBytesin 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:
hasExceptionin interfaceUserBitShared.DrillPBErrorOrBuilder- Returns:
- Whether the exception field is set.
-
getException
optional .exec.shared.ExceptionWrapper exception = 5;- Specified by:
getExceptionin 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:
getExceptionOrBuilderin interfaceUserBitShared.DrillPBErrorOrBuilder
-
getParsingErrorList
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;- Specified by:
getParsingErrorListin 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:
getParsingErrorCountin interfaceUserBitShared.DrillPBErrorOrBuilder
-
getParsingError
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;- Specified by:
getParsingErrorin 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:
getParsingErrorOrBuilderin interfaceUserBitShared.DrillPBErrorOrBuilder
-
getParsingErrorOrBuilderList
optional, used when providing location of error within a piece of text.
repeated .exec.shared.ParsingError parsing_error = 6;- Specified by:
getParsingErrorOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-
mergeUnknownFields
public final UserBitShared.DrillPBError.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.DrillPBError.Builder>
-