Class UploadPartRequest
java.lang.Object
com.google.cloud.storage.multipartupload.model.UploadPartRequest
An object to represent an upload part request. An upload part request is used to upload a single
part of a multipart upload.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbucket()Returns the bucket to upload the part to.static UploadPartRequest.Builderbuilder()Returns a new builder for anUploadPartRequest.booleaninthashCode()key()Returns the key of the object to upload the part to.intReturns the part number of the part to upload.toString()uploadId()Returns the upload ID of the multipart upload.
-
Method Details
-
bucket
Returns the bucket to upload the part to.- Returns:
- The bucket to upload the part to.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
key
Returns the key of the object to upload the part to.- Returns:
- The key of the object to upload the part to.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
partNumber
@BetaApi public int partNumber()Returns the part number of the part to upload.- Returns:
- The part number of the part to upload.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
uploadId
Returns the upload ID of the multipart upload.- Returns:
- The upload ID of the multipart upload.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Returns a new builder for anUploadPartRequest.- Returns:
- A new builder.
- Since:
- 2.60.0 This new api is in preview and is subject to breaking changes.
-