Enum UploadSessionLookupError.Tag

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CLOSED
      You are attempting to append data to an upload session that has already been closed (i.e.
      CONCURRENT_SESSION_INVALID_DATA_SIZE
      For concurrent upload sessions, only chunks with size multiple of 4194304 bytes can be uploaded.
      CONCURRENT_SESSION_INVALID_OFFSET
      For concurrent upload sessions, offset needs to be multiple of 4194304 bytes.
      INCORRECT_OFFSET
      The specified offset was incorrect.
      NOT_CLOSED
      The session must be closed before calling upload_session/finish_batch.
      NOT_FOUND
      The upload session ID was not found or has expired.
      OTHER
      Catch-all used for unknown tag values returned by the Dropbox servers.
      PAYLOAD_TOO_LARGE
      The request payload must be at most 150 MB.
      TOO_LARGE
      You can not append to the upload session because the size of a file should not reach the max file size limit (i.e.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static UploadSessionLookupError.Tag valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static UploadSessionLookupError.Tag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NOT_FOUND

        public static final UploadSessionLookupError.Tag NOT_FOUND
        The upload session ID was not found or has expired. Upload sessions are valid for 7 days.
      • INCORRECT_OFFSET

        public static final UploadSessionLookupError.Tag INCORRECT_OFFSET
        The specified offset was incorrect. See the value for the correct offset. This error may occur when a previous request was received and processed successfully but the client did not receive the response, e.g. due to a network error.
      • CLOSED

        public static final UploadSessionLookupError.Tag CLOSED
        You are attempting to append data to an upload session that has already been closed (i.e. committed).
      • NOT_CLOSED

        public static final UploadSessionLookupError.Tag NOT_CLOSED
        The session must be closed before calling upload_session/finish_batch.
      • TOO_LARGE

        public static final UploadSessionLookupError.Tag TOO_LARGE
        You can not append to the upload session because the size of a file should not reach the max file size limit (i.e. 350GB).
      • CONCURRENT_SESSION_INVALID_OFFSET

        public static final UploadSessionLookupError.Tag CONCURRENT_SESSION_INVALID_OFFSET
        For concurrent upload sessions, offset needs to be multiple of 4194304 bytes.
      • CONCURRENT_SESSION_INVALID_DATA_SIZE

        public static final UploadSessionLookupError.Tag CONCURRENT_SESSION_INVALID_DATA_SIZE
        For concurrent upload sessions, only chunks with size multiple of 4194304 bytes can be uploaded.
      • OTHER

        public static final UploadSessionLookupError.Tag OTHER
        Catch-all used for unknown tag values returned by the Dropbox servers.

        Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.

    • Method Detail

      • values

        public static UploadSessionLookupError.Tag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UploadSessionLookupError.Tag c : UploadSessionLookupError.Tag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UploadSessionLookupError.Tag valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null