Class UploadPartResponse

java.lang.Object
com.google.cloud.storage.multipartupload.model.UploadPartResponse

@BetaApi public final class UploadPartResponse extends Object
Represents the response from uploading a part in a multipart upload. It contains the ETag and checksums of the uploaded part.
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • eTag

      @BetaApi public String eTag()
      Returns the ETag of the uploaded part.
      Returns:
      The ETag.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • md5

      @BetaApi public String md5()
      Returns the MD5 hash of the uploaded part.
      Returns:
      The MD5 hash.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      @BetaApi public static UploadPartResponse.Builder builder()
      Creates a new builder for creating an UploadPartResponse.
      Returns:
      A new builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.