Class UploadFileRequest.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<UploadFileRequest>
net.sourceforge.jbizmo.commons.avro.file.UploadFileRequest.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<UploadFileRequest>
Enclosing class:
UploadFileRequest

public static class UploadFileRequest.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<UploadFileRequest> implements org.apache.avro.data.RecordBuilder<UploadFileRequest>
RecordBuilder for UploadFileRequest instances.
  • Method Details

    • getFileName

      public String getFileName()
      Gets the value of the 'fileName' field.
      Returns:
      The value.
    • setFileName

      public UploadFileRequest.Builder setFileName(String value)
      Sets the value of the 'fileName' field.
      Parameters:
      value - The value of 'fileName'.
      Returns:
      This builder.
    • hasFileName

      public boolean hasFileName()
      Checks whether the 'fileName' field has been set.
      Returns:
      True if the 'fileName' field has been set, false otherwise.
    • clearFileName

      public UploadFileRequest.Builder clearFileName()
      Clears the value of the 'fileName' field.
      Returns:
      This builder.
    • getPath

      public String getPath()
      Gets the value of the 'path' field.
      Returns:
      The value.
    • setPath

      public UploadFileRequest.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 UploadFileRequest.Builder clearPath()
      Clears the value of the 'path' field.
      Returns:
      This builder.
    • getContent

      public ByteBuffer getContent()
      Gets the value of the 'content' field.
      Returns:
      The value.
    • setContent

      public UploadFileRequest.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 UploadFileRequest.Builder clearContent()
      Clears the value of the 'content' field.
      Returns:
      This builder.
    • build

      public UploadFileRequest build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<UploadFileRequest>