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 TypeMethodDescriptionbucket()Returns the bucket name.static ListPartsResponse.Builderbuilder()Creates a newBuilderforListPartsResponseobjects.booleaninthashCode()key()Returns the object name.intmaxParts()Returns the maximum number of parts to return.intReturns the next part number marker.intReturns the part number marker.parts()Returns the list of parts.Returns the storage class of the object.toString()booleanReturns true if the response is truncated.uploadId()Returns the upload ID.
-
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.
-
bucket
Returns the bucket name.- Returns:
- the bucket name.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
key
Returns the object name.- Returns:
- the object name.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
uploadId
Returns the upload ID.- Returns:
- the upload ID.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
partNumberMarker
@BetaApi public int partNumberMarker()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.
-
nextPartNumberMarker
@BetaApi public int nextPartNumberMarker()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.
-
maxParts
@BetaApi public int maxParts()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.
-
truncated
@BetaApi public boolean truncated()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.
-
storageClass
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.
-
parts
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
-