Class UploadFileResponse.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<UploadFileResponse>
net.sourceforge.jbizmo.commons.avro.file.UploadFileResponse.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<UploadFileResponse>
- Enclosing class:
- UploadFileResponse
public static class UploadFileResponse.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<UploadFileResponse>
implements org.apache.avro.data.RecordBuilder<UploadFileResponse>
RecordBuilder for UploadFileResponse instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'path' field.Clears the value of the 'responseStatus' field.getPath()Gets the value of the 'path' field.Gets the value of the 'responseStatus' field.Gets the Builder instance for the 'responseStatus' field and creates one if it doesn't exist yet.booleanhasPath()Checks whether the 'path' field has been set.booleanChecks whether the 'responseStatus' field has been set.booleanChecks whether the 'responseStatus' field has an active Builder instanceSets the value of the 'path' field.setResponseStatus(ResponseStatus value) Sets the value of the 'responseStatus' field.Sets the Builder instance for the 'responseStatus' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getResponseStatus
Gets the value of the 'responseStatus' field.- Returns:
- The value.
-
setResponseStatus
Sets the value of the 'responseStatus' field.- Parameters:
value- The value of 'responseStatus'.- Returns:
- This builder.
-
hasResponseStatus
public boolean hasResponseStatus()Checks whether the 'responseStatus' field has been set.- Returns:
- True if the 'responseStatus' field has been set, false otherwise.
-
getResponseStatusBuilder
Gets the Builder instance for the 'responseStatus' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setResponseStatusBuilder
Sets the Builder instance for the 'responseStatus' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasResponseStatusBuilder
public boolean hasResponseStatusBuilder()Checks whether the 'responseStatus' field has an active Builder instance- Returns:
- True if the 'responseStatus' field has an active Builder instance
-
clearResponseStatus
Clears the value of the 'responseStatus' field.- Returns:
- This builder.
-
getPath
Gets the value of the 'path' field.- Returns:
- The value.
-
setPath
Sets the value of the 'path' field.- Parameters:
value- The value of 'path'.- Returns:
- This builder.
-
hasPath
public boolean hasPath()Checks whether the 'path' field has been set.- Returns:
- True if the 'path' field has been set, false otherwise.
-
clearPath
Clears the value of the 'path' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<UploadFileResponse>
-