Class DowloadFileResponse.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<DowloadFileResponse>
-
- net.sourceforge.jbizmo.commons.avro.file.DowloadFileResponse.Builder
-
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<DowloadFileResponse>
- Enclosing class:
- DowloadFileResponse
public static class DowloadFileResponse.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<DowloadFileResponse> implements org.apache.avro.data.RecordBuilder<DowloadFileResponse>
RecordBuilder for DowloadFileResponse instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DowloadFileResponsebuild()DowloadFileResponse.BuilderclearContent()Clears the value of the 'content' field.DowloadFileResponse.BuilderclearResponseStatus()Clears the value of the 'responseStatus' field.ByteBuffergetContent()Gets the value of the 'content' 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.booleanhasContent()Checks whether the 'content' field has been set.booleanhasResponseStatus()Checks whether the 'responseStatus' field has been set.booleanhasResponseStatusBuilder()Checks whether the 'responseStatus' field has an active Builder instanceDowloadFileResponse.BuildersetContent(ByteBuffer value)Sets the value of the 'content' field.DowloadFileResponse.BuildersetResponseStatus(ResponseStatus value)Sets the value of the 'responseStatus' field.DowloadFileResponse.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 DowloadFileResponse.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 DowloadFileResponse.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 DowloadFileResponse.Builder clearResponseStatus()
Clears the value of the 'responseStatus' field.- Returns:
- This builder.
-
getContent
public ByteBuffer getContent()
Gets the value of the 'content' field.- Returns:
- The value.
-
setContent
public DowloadFileResponse.Builder setContent(ByteBuffer value)
Sets the value of the 'content' field.- Parameters:
value- The value of 'content'.- Returns:
- This builder.
-
hasContent
public boolean hasContent()
Checks whether the 'content' field has been set.- Returns:
- True if the 'content' field has been set, false otherwise.
-
clearContent
public DowloadFileResponse.Builder clearContent()
Clears the value of the 'content' field.- Returns:
- This builder.
-
build
public DowloadFileResponse build()
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<DowloadFileResponse>
-
-