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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownloadFileRequestbuild()DownloadFileRequest.BuilderclearPath()Clears the value of the 'path' field.DownloadFileRequest.BuilderclearSize()Clears the value of the 'size' field.DownloadFileRequest.BuilderclearStartIndex()Clears the value of the 'startIndex' field.StringgetPath()Gets the value of the 'path' field.intgetSize()Gets the value of the 'size' field.intgetStartIndex()Gets the value of the 'startIndex' field.booleanhasPath()Checks whether the 'path' field has been set.booleanhasSize()Checks whether the 'size' field has been set.booleanhasStartIndex()Checks whether the 'startIndex' field has been set.DownloadFileRequest.BuildersetPath(String value)Sets the value of the 'path' field.DownloadFileRequest.BuildersetSize(int value)Sets the value of the 'size' field.DownloadFileRequest.BuildersetStartIndex(int value)Sets the value of the 'startIndex' field.
-
-
-
Method Detail
-
getPath
public String getPath()
Gets the value of the 'path' field.- Returns:
- The value.
-
setPath
public DownloadFileRequest.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 DownloadFileRequest.Builder 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
public DownloadFileRequest.Builder setStartIndex(int value)
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
public DownloadFileRequest.Builder 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
public DownloadFileRequest.Builder setSize(int value)
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
public DownloadFileRequest.Builder clearSize()
Clears the value of the 'size' field.- Returns:
- This builder.
-
build
public DownloadFileRequest build()
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<DownloadFileRequest>
-
-