Class ListPartsResponse
java.lang.Object
com.google.cloud.storage.multipartupload.model.ListPartsResponse
Represents a response to a list parts request.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forListPartsResponse. -
Method Summary
Modifier and TypeMethodDescriptionstatic ListPartsResponse.Builderbuilder()Creates a newBuilderforListPartsResponseobjects.booleanReturns the bucket name.getKey()Returns the object name.intReturns the maximum number of parts to return.intReturns the next part number marker.intReturns the part number marker.getParts()Returns the list of parts.Returns the storage class of the object.Returns the upload ID.inthashCode()booleanReturns true if the response is truncated.toString()
-
Method Details
-
builder
Creates a newBuilderforListPartsResponseobjects.- Returns:
- A new
Builderinstance. - Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
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
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
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
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
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
-
hashCode
public int hashCode() -
toString
-