Class UploadPartResponse

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

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
  • Method Details

    • eTag

      public String eTag()
      Returns the ETag of the uploaded part.
      Returns:
      The ETag.
      Since:
      2.60.0
    • md5

      public String md5()
      Returns the MD5 hash of the uploaded part.
      Returns:
      The MD5 hash.
      Since:
      2.60.0
    • crc32c

      public String crc32c()
      Returns the CRC32C checksum of the uploaded part.
      Returns:
      The CRC32C checksum.
      Since:
      2.61.0
    • 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

      public static UploadPartResponse.Builder builder()
      Creates a new builder for creating an UploadPartResponse.
      Returns:
      A new builder.
      Since:
      2.60.0