Class DownloadFileRequest.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<DownloadFileRequest>
net.sourceforge.jbizmo.commons.avro.file.DownloadFileRequest.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<DownloadFileRequest>
- Enclosing class:
- DownloadFileRequest
public static class DownloadFileRequest.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<DownloadFileRequest>
implements org.apache.avro.data.RecordBuilder<DownloadFileRequest>
RecordBuilder for DownloadFileRequest instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'path' field.Clears the value of the 'size' field.Clears the value of the 'startIndex' field.getPath()Gets the value of the 'path' field.intgetSize()Gets the value of the 'size' field.intGets the value of the 'startIndex' field.booleanhasPath()Checks whether the 'path' field has been set.booleanhasSize()Checks whether the 'size' field has been set.booleanChecks whether the 'startIndex' field has been set.Sets the value of the 'path' field.setSize(int value) Sets the value of the 'size' field.setStartIndex(int value) Sets the value of the 'startIndex' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
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.
-
getStartIndex
public int getStartIndex()Gets the value of the 'startIndex' field.- Returns:
- The value.
-
setStartIndex
Sets the value of the 'startIndex' field.- Parameters:
value- The value of 'startIndex'.- Returns:
- This builder.
-
hasStartIndex
public boolean hasStartIndex()Checks whether the 'startIndex' field has been set.- Returns:
- True if the 'startIndex' field has been set, false otherwise.
-
clearStartIndex
Clears the value of the 'startIndex' field.- Returns:
- This builder.
-
getSize
public int getSize()Gets the value of the 'size' field.- Returns:
- The value.
-
setSize
Sets the value of the 'size' field.- Parameters:
value- The value of 'size'.- Returns:
- This builder.
-
hasSize
public boolean hasSize()Checks whether the 'size' field has been set.- Returns:
- True if the 'size' field has been set, false otherwise.
-
clearSize
Clears the value of the 'size' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<DownloadFileRequest>
-