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 Details

    • 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:
      build in interface org.apache.avro.data.RecordBuilder<DownloadFileRequest>