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

@BetaApi public final class Part extends Object
Represents a part of a multipart upload.
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • partNumber

      @BetaApi public int partNumber()
      Returns the part number.
      Returns:
      the part number.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • eTag

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

      @BetaApi public long size()
      Returns the size of the part.
      Returns:
      the size of the part.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • lastModified

      @BetaApi public OffsetDateTime lastModified()
      Returns the last modified time of the part.
      Returns:
      the last modified time of the part.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • builder

      @BetaApi public static Part.Builder builder()
      Returns a new builder for this class.
      Returns:
      a new builder for this class.
      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