Class SessionError.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class SessionError.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for SessionError instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ExceptionEnvelope
errorMessage
public ExceptionEnvelope.Builder
errorMessageBuilder
-
Method Summary
Modifier and Type Method Description ExceptionEnvelope
getErrorMessage()
Gets the value of the 'errorMessage' field. SessionError.Builder
setErrorMessage(ExceptionEnvelope value)
Sets the value of the 'errorMessage' field. ExceptionEnvelope.Builder
getErrorMessageBuilder()
Gets the Builder instance for the 'errorMessage' field and creates one if it doesn't exist yet. SessionError.Builder
setErrorMessageBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'errorMessage' field boolean
hasErrorMessage()
Checks whether the 'errorMessage' field has been set. boolean
hasErrorMessageBuilder()
Checks whether the 'errorMessage' field has an active Builder instance SessionError.Builder
clearErrorMessage()
Clears the value of the 'errorMessage' field. SessionError
build()
-
-
Method Detail
-
getErrorMessage
ExceptionEnvelope getErrorMessage()
Gets the value of the 'errorMessage' field.
-
setErrorMessage
SessionError.Builder setErrorMessage(ExceptionEnvelope value)
Sets the value of the 'errorMessage' field.
- Parameters:
value
- The value of 'errorMessage'.
-
getErrorMessageBuilder
ExceptionEnvelope.Builder getErrorMessageBuilder()
Gets the Builder instance for the 'errorMessage' field and creates one if it doesn't exist yet.
-
setErrorMessageBuilder
SessionError.Builder setErrorMessageBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'errorMessage' field
- Parameters:
value
- The builder instance that must be set.
-
hasErrorMessage
boolean hasErrorMessage()
Checks whether the 'errorMessage' field has been set.
-
hasErrorMessageBuilder
boolean hasErrorMessageBuilder()
Checks whether the 'errorMessage' field has an active Builder instance
-
clearErrorMessage
SessionError.Builder clearErrorMessage()
Clears the value of the 'errorMessage' field.
-
build
SessionError build()
-
-
-
-