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
-
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.@Nullable Stringcrc32c()Returns the CRC32C checksum of the part to upload.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.Returns the user-project.
-
Method Details
-
bucket
Returns the bucket to upload the part to.- Returns:
- The bucket to upload the part to.
- Since:
- 2.60.0
-
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
-
partNumber
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
-
uploadId
Returns the upload ID of the multipart upload.- Returns:
- The upload ID of the multipart upload.
- Since:
- 2.60.0
-
crc32c
Returns the CRC32C checksum of the part to upload.- Returns:
- The CRC32C checksum of the part to upload.
- Since:
- 2.61.0
-
userProject
Returns the user-project.- Returns:
- the user-project.
- Since:
- 2.61.0
- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Returns a new builder for anUploadPartRequest.- Returns:
- A new builder.
- Since:
- 2.60.0
-