Class UploadStatus.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class UploadStatus.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for UploadStatus instances.

    • Constructor Detail

    • Method Detail

      • getComplete

         boolean getComplete()

        Gets the value of the 'complete' field. Has the upload completed? If false, it's likely in progress, but you should check the exception field

      • setComplete

         UploadStatus.Builder setComplete(boolean value)

        Sets the value of the 'complete' field. Has the upload completed? If false, it's likely in progress, but you should check the exception field

        Parameters:
        value - The value of 'complete'.
      • getMessage

         String getMessage()

        Gets the value of the 'message' field. A message indicating the current status of the upload.

      • setMessage

         UploadStatus.Builder setMessage(String value)

        Sets the value of the 'message' field. A message indicating the current status of the upload.

        Parameters:
        value - The value of 'message'.
      • getChecksum

         SecureHash getChecksum()

        Gets the value of the 'checksum' field. The checksum of the file that was uploaded that can be used to reference it.

      • setChecksum

         UploadStatus.Builder setChecksum(SecureHash value)

        Sets the value of the 'checksum' field. The checksum of the file that was uploaded that can be used to reference it.

        Parameters:
        value - The value of 'checksum'.
      • getChecksumBuilder

         SecureHash.Builder getChecksumBuilder()

        Gets the Builder instance for the 'checksum' field and creates one if it doesn't exist yet. The checksum of the file that was uploaded that can be used to reference it.

      • hasComplete

         boolean hasComplete()

        Checks whether the 'complete' field has been set. Has the upload completed? If false, it's likely in progress, but you should check the exception field

      • clearComplete

         UploadStatus.Builder clearComplete()

        Clears the value of the 'complete' field. Has the upload completed? If false, it's likely in progress, but you should check the exception field

      • hasMessage

         boolean hasMessage()

        Checks whether the 'message' field has been set. A message indicating the current status of the upload.

      • hasChecksum

         boolean hasChecksum()

        Checks whether the 'checksum' field has been set. The checksum of the file that was uploaded that can be used to reference it.

      • hasChecksumBuilder

         boolean hasChecksumBuilder()

        Checks whether the 'checksum' field has an active Builder instance The checksum of the file that was uploaded that can be used to reference it.

      • clearChecksum

         UploadStatus.Builder clearChecksum()

        Clears the value of the 'checksum' field. The checksum of the file that was uploaded that can be used to reference it.

      • hasException

         boolean hasException()

        Checks whether the 'exception' field has been set. cause of failure if the request was unsuccessful

      • hasExceptionBuilder

         boolean hasExceptionBuilder()

        Checks whether the 'exception' field has an active Builder instance cause of failure if the request was unsuccessful