Class DocumentDataV1.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<DocumentDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<DocumentDataV1>
org.apache.fineract.avro.document.v1.DocumentDataV1.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<DocumentDataV1>
Enclosing class:
DocumentDataV1

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

    • getId

      public Long getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • setId

      public DocumentDataV1.Builder setId(Long value)
      Sets the value of the 'id' field.
      Parameters:
      value - The value of 'id'.
      Returns:
      This builder.
    • hasId

      public boolean hasId()
      Checks whether the 'id' field has been set.
      Returns:
      True if the 'id' field has been set, false otherwise.
    • clearId

      public DocumentDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getParentEntityType

      public String getParentEntityType()
      Gets the value of the 'parentEntityType' field.
      Returns:
      The value.
    • setParentEntityType

      public DocumentDataV1.Builder setParentEntityType(String value)
      Sets the value of the 'parentEntityType' field.
      Parameters:
      value - The value of 'parentEntityType'.
      Returns:
      This builder.
    • hasParentEntityType

      public boolean hasParentEntityType()
      Checks whether the 'parentEntityType' field has been set.
      Returns:
      True if the 'parentEntityType' field has been set, false otherwise.
    • clearParentEntityType

      public DocumentDataV1.Builder clearParentEntityType()
      Clears the value of the 'parentEntityType' field.
      Returns:
      This builder.
    • getParentEntityId

      public Long getParentEntityId()
      Gets the value of the 'parentEntityId' field.
      Returns:
      The value.
    • setParentEntityId

      public DocumentDataV1.Builder setParentEntityId(Long value)
      Sets the value of the 'parentEntityId' field.
      Parameters:
      value - The value of 'parentEntityId'.
      Returns:
      This builder.
    • hasParentEntityId

      public boolean hasParentEntityId()
      Checks whether the 'parentEntityId' field has been set.
      Returns:
      True if the 'parentEntityId' field has been set, false otherwise.
    • clearParentEntityId

      public DocumentDataV1.Builder clearParentEntityId()
      Clears the value of the 'parentEntityId' field.
      Returns:
      This builder.
    • getName

      public String getName()
      Gets the value of the 'name' field.
      Returns:
      The value.
    • setName

      public DocumentDataV1.Builder setName(String value)
      Sets the value of the 'name' field.
      Parameters:
      value - The value of 'name'.
      Returns:
      This builder.
    • hasName

      public boolean hasName()
      Checks whether the 'name' field has been set.
      Returns:
      True if the 'name' field has been set, false otherwise.
    • clearName

      public DocumentDataV1.Builder clearName()
      Clears the value of the 'name' field.
      Returns:
      This builder.
    • getFileName

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

      public DocumentDataV1.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 DocumentDataV1.Builder clearFileName()
      Clears the value of the 'fileName' field.
      Returns:
      This builder.
    • getSize

      public Long getSize()
      Gets the value of the 'size' field.
      Returns:
      The value.
    • setSize

      public DocumentDataV1.Builder setSize(Long 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 DocumentDataV1.Builder clearSize()
      Clears the value of the 'size' field.
      Returns:
      This builder.
    • getType

      public String getType()
      Gets the value of the 'type' field.
      Returns:
      The value.
    • setType

      public DocumentDataV1.Builder setType(String value)
      Sets the value of the 'type' field.
      Parameters:
      value - The value of 'type'.
      Returns:
      This builder.
    • hasType

      public boolean hasType()
      Checks whether the 'type' field has been set.
      Returns:
      True if the 'type' field has been set, false otherwise.
    • clearType

      public DocumentDataV1.Builder clearType()
      Clears the value of the 'type' field.
      Returns:
      This builder.
    • getDescription

      public String getDescription()
      Gets the value of the 'description' field.
      Returns:
      The value.
    • setDescription

      public DocumentDataV1.Builder setDescription(String value)
      Sets the value of the 'description' field.
      Parameters:
      value - The value of 'description'.
      Returns:
      This builder.
    • hasDescription

      public boolean hasDescription()
      Checks whether the 'description' field has been set.
      Returns:
      True if the 'description' field has been set, false otherwise.
    • clearDescription

      public DocumentDataV1.Builder clearDescription()
      Clears the value of the 'description' field.
      Returns:
      This builder.
    • getStorageType

      public Integer getStorageType()
      Gets the value of the 'storageType' field.
      Returns:
      The value.
    • setStorageType

      public DocumentDataV1.Builder setStorageType(Integer value)
      Sets the value of the 'storageType' field.
      Parameters:
      value - The value of 'storageType'.
      Returns:
      This builder.
    • hasStorageType

      public boolean hasStorageType()
      Checks whether the 'storageType' field has been set.
      Returns:
      True if the 'storageType' field has been set, false otherwise.
    • clearStorageType

      public DocumentDataV1.Builder clearStorageType()
      Clears the value of the 'storageType' field.
      Returns:
      This builder.
    • build

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