Class ListPartsResponse

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

public final class ListPartsResponse extends Object
Represents a response to a list parts request.
Since:
2.60.0
  • Method Details

    • builder

      public static ListPartsResponse.Builder builder()
      Creates a new Builder for ListPartsResponse objects.
      Returns:
      A new Builder instance.
      Since:
      2.60.0
    • bucket

      public String bucket()
      Returns the bucket name.
      Returns:
      the bucket name.
      Since:
      2.60.0
    • key

      public String key()
      Returns the object name.
      Returns:
      the object name.
      Since:
      2.60.0
    • uploadId

      public String uploadId()
      Returns the upload ID.
      Returns:
      the upload ID.
      Since:
      2.60.0
    • partNumberMarker

      public int partNumberMarker()
      Returns the part number marker.
      Returns:
      the part number marker.
      Since:
      2.60.0
    • nextPartNumberMarker

      public int nextPartNumberMarker()
      Returns the next part number marker.
      Returns:
      the next part number marker.
      Since:
      2.60.0
    • maxParts

      public int maxParts()
      Returns the maximum number of parts to return.
      Returns:
      the maximum number of parts to return.
      Since:
      2.60.0
    • truncated

      public boolean truncated()
      Returns true if the response is truncated.
      Returns:
      true if the response is truncated.
      Since:
      2.60.0
    • storageClass

      public StorageClass storageClass()
      Returns the storage class of the object.
      Returns:
      the storage class of the object.
      Since:
      2.60.0
    • parts

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