Class ExternalEventResponseError.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class ExternalEventResponseError.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for ExternalEventResponseError instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ExternalEventResponseErrorType
errorType
public ExceptionEnvelope
exception
public ExceptionEnvelope.Builder
exceptionBuilder
-
Method Summary
Modifier and Type Method Description ExternalEventResponseErrorType
getErrorType()
Gets the value of the 'errorType' field. ExternalEventResponseError.Builder
setErrorType(ExternalEventResponseErrorType value)
Sets the value of the 'errorType' field. ExceptionEnvelope
getException()
Gets the value of the 'exception' field. ExternalEventResponseError.Builder
setException(ExceptionEnvelope value)
Sets the value of the 'exception' field. ExceptionEnvelope.Builder
getExceptionBuilder()
Gets the Builder instance for the 'exception' field and creates one if it doesn't exist yet. ExternalEventResponseError.Builder
setExceptionBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'exception' field Exception information boolean
hasErrorType()
Checks whether the 'errorType' field has been set. ExternalEventResponseError.Builder
clearErrorType()
Clears the value of the 'errorType' field. boolean
hasException()
Checks whether the 'exception' field has been set. boolean
hasExceptionBuilder()
Checks whether the 'exception' field has an active Builder instance Exception information ExternalEventResponseError.Builder
clearException()
Clears the value of the 'exception' field. ExternalEventResponseError
build()
-
-
Method Detail
-
getErrorType
ExternalEventResponseErrorType getErrorType()
Gets the value of the 'errorType' field. Error type
-
setErrorType
ExternalEventResponseError.Builder setErrorType(ExternalEventResponseErrorType value)
Sets the value of the 'errorType' field. Error type
- Parameters:
value
- The value of 'errorType'.
-
getException
ExceptionEnvelope getException()
Gets the value of the 'exception' field. Exception information
-
setException
ExternalEventResponseError.Builder setException(ExceptionEnvelope value)
Sets the value of the 'exception' field. Exception information
- Parameters:
value
- The value of 'exception'.
-
getExceptionBuilder
ExceptionEnvelope.Builder getExceptionBuilder()
Gets the Builder instance for the 'exception' field and creates one if it doesn't exist yet. Exception information
-
setExceptionBuilder
ExternalEventResponseError.Builder setExceptionBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'exception' field Exception information
- Parameters:
value
- The builder instance that must be set.
-
hasErrorType
boolean hasErrorType()
Checks whether the 'errorType' field has been set. Error type
-
clearErrorType
ExternalEventResponseError.Builder clearErrorType()
Clears the value of the 'errorType' field. Error type
-
hasException
boolean hasException()
Checks whether the 'exception' field has been set. Exception information
-
hasExceptionBuilder
boolean hasExceptionBuilder()
Checks whether the 'exception' field has an active Builder instance Exception information
-
clearException
ExternalEventResponseError.Builder clearException()
Clears the value of the 'exception' field. Exception information
-
build
ExternalEventResponseError build()
-
-
-
-