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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadFileResponsebuild()UploadFileResponse.BuilderclearPath()Clears the value of the 'path' field.UploadFileResponse.BuilderclearResponseStatus()Clears the value of the 'responseStatus' field.StringgetPath()Gets the value of the 'path' field.ResponseStatusgetResponseStatus()Gets the value of the 'responseStatus' field.ResponseStatus.BuildergetResponseStatusBuilder()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.booleanhasResponseStatus()Checks whether the 'responseStatus' field has been set.booleanhasResponseStatusBuilder()Checks whether the 'responseStatus' field has an active Builder instanceUploadFileResponse.BuildersetPath(String value)Sets the value of the 'path' field.UploadFileResponse.BuildersetResponseStatus(ResponseStatus value)Sets the value of the 'responseStatus' field.UploadFileResponse.BuildersetResponseStatusBuilder(ResponseStatus.Builder value)Sets the Builder instance for the 'responseStatus' field
-
-
-
Method Detail
-
getResponseStatus
public ResponseStatus getResponseStatus()
Gets the value of the 'responseStatus' field.- Returns:
- The value.
-
setResponseStatus
public UploadFileResponse.Builder setResponseStatus(ResponseStatus value)
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
public ResponseStatus.Builder getResponseStatusBuilder()
Gets the Builder instance for the 'responseStatus' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setResponseStatusBuilder
public UploadFileResponse.Builder setResponseStatusBuilder(ResponseStatus.Builder value)
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
public UploadFileResponse.Builder clearResponseStatus()
Clears the value of the 'responseStatus' field.- Returns:
- This builder.
-
getPath
public String getPath()
Gets the value of the 'path' field.- Returns:
- The value.
-
setPath
public UploadFileResponse.Builder setPath(String value)
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
public UploadFileResponse.Builder clearPath()
Clears the value of the 'path' field.- Returns:
- This builder.
-
build
public UploadFileResponse build()
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<UploadFileResponse>
-
-