Class ListPartsResponse

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

@BetaApi public final class ListPartsResponse extends Object
Represents a response to a list parts request.
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • builder

      @BetaApi public static ListPartsResponse.Builder builder()
      Creates a new Builder for ListPartsResponse objects.
      Returns:
      A new Builder instance.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • getBucket

      @BetaApi public String getBucket()
      Returns the bucket name.
      Returns:
      the bucket name.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • getKey

      @BetaApi public String getKey()
      Returns the object name.
      Returns:
      the object name.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • getUploadId

      @BetaApi public String getUploadId()
      Returns the upload ID.
      Returns:
      the upload ID.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • getPartNumberMarker

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

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

      @BetaApi public int getMaxParts()
      Returns the maximum number of parts to return.
      Returns:
      the maximum number of parts to return.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • isTruncated

      @BetaApi public boolean isTruncated()
      Returns true if the response is truncated.
      Returns:
      true if the response is truncated.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • getStorageClass

      @BetaApi public StorageClass getStorageClass()
      Returns the storage class of the object.
      Returns:
      the storage class of the object.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • getParts

      @BetaApi public List<Part> getParts()
      Returns the list of parts.
      Returns:
      the list of parts.
      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