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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadFileRequestbuild()UploadFileRequest.BuilderclearContent()Clears the value of the 'content' field.UploadFileRequest.BuilderclearFileName()Clears the value of the 'fileName' field.UploadFileRequest.BuilderclearPath()Clears the value of the 'path' field.ByteBuffergetContent()Gets the value of the 'content' field.StringgetFileName()Gets the value of the 'fileName' field.StringgetPath()Gets the value of the 'path' field.booleanhasContent()Checks whether the 'content' field has been set.booleanhasFileName()Checks whether the 'fileName' field has been set.booleanhasPath()Checks whether the 'path' field has been set.UploadFileRequest.BuildersetContent(ByteBuffer value)Sets the value of the 'content' field.UploadFileRequest.BuildersetFileName(String value)Sets the value of the 'fileName' field.UploadFileRequest.BuildersetPath(String value)Sets the value of the 'path' field.
-
-
-
Method Detail
-
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:
buildin interfaceorg.apache.avro.data.RecordBuilder<UploadFileRequest>
-
-