Class UploadPartRequest (2.62.0)

public final class UploadPartRequest

An object to represent an upload part request. An upload part request is used to upload a single part of a multipart upload.

Inheritance

Object > UploadPartRequest

Static Methods

builder()

public static UploadPartRequest.Builder builder()

Returns a new builder for an UploadPartRequest.

Returns
Type Description
UploadPartRequest.Builder

A new builder.

Methods

bucket()

public String bucket()

Returns the bucket to upload the part to.

Returns
Type Description
String

The bucket to upload the part to.

crc32c()

public @Nullable String crc32c()

Returns the CRC32C checksum of the part to upload.

Returns
Type Description
@org.checkerframework.checker.nullness.qual.Nullable java.lang.String

The CRC32C checksum of the part to upload.

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

key()

public String key()

Returns the key of the object to upload the part to.

Returns
Type Description
String

The key of the object to upload the part to.

partNumber()

public int partNumber()

Returns the part number of the part to upload.

Returns
Type Description
int

The part number of the part to upload.

toString()

public String toString()
Returns
Type Description
String
Overrides

uploadId()

public String uploadId()

Returns the upload ID of the multipart upload.

Returns
Type Description
String

The upload ID of the multipart upload.

userProject()

public String userProject()

Returns the user-project. See Also: x-goog-user-project

Returns
Type Description
String

the user-project.