public static Bucket.BlobWriteOption crc32cMatch(@NonNull String crc32c)
Returns an option for blob's data CRC32C checksum match. If this option is used the request
will fail if blobs' data CRC32C checksum does not match the provided value.
public static Bucket.BlobWriteOption[] dedupe(Bucket.BlobWriteOption[] array, Bucket.BlobWriteOption[] os)
Deduplicate any options which are the same parameter.
The value which comes last in collection and os will be the value included
in the return. All options from os will override their counterparts in
collection.
public static Bucket.BlobWriteOption[] dedupe(Collection<Bucket.BlobWriteOption> collection, Bucket.BlobWriteOption[] os)
Deduplicate any options which are the same parameter.
The value which comes last in collection and os will be the value included
in the return. All options from os will override their counterparts in
collection.
public static Bucket.BlobWriteOption doesNotExist()
Returns an option that causes an operation to succeed only if the target blob does not exist.
This option can not be provided together with #generationMatch(long) or #generationNotMatch(long).
public static Bucket.BlobWriteOption generationMatch(long generation)
Returns an option for blob's data generation match. If this option is used the request will
fail if generation does not match the provided value. This option can not be provided
together with #generationNotMatch(long) or #doesNotExist().
public static Bucket.BlobWriteOption generationNotMatch(long generation)
Returns an option for blob's data generation mismatch. If this option is used the request
will fail if generation matches the provided value. This option can not be provided together
with #generationMatch(long) or #doesNotExist().
public static Bucket.BlobWriteOption md5Match(@NonNull String md5)
Returns an option for blob's data MD5 hash match. If this option is used the request will
fail if blobs' data MD5 hash does not match the provided value.
public static Bucket.BlobWriteOption metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match. If this option is used the request will
fail if metageneration does not match the provided value. This option can not be provided
together with #metagenerationNotMatch(long).
public static Bucket.BlobWriteOption metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch. If this option is used the request will
fail if metageneration matches the provided value. This option can not be provided together
with #metagenerationMatch(long).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]