public static class Blob.BlobSourceOption extends Option<com.google.cloud.storage.UnifiedOpts.ObjectSourceOpt>
Blob
methods are used.Modifier and Type | Method and Description |
---|---|
static Blob.BlobSourceOption |
decryptionKey(@NonNull Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Blob.BlobSourceOption |
decryptionKey(@NonNull String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Blob.BlobSourceOption[] |
dedupe(Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption[] |
dedupe(Blob.BlobSourceOption[] array,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Blob.BlobSourceOption[] |
dedupe(Collection<Blob.BlobSourceOption> collection,
Blob.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
boolean |
equals(Object o)
Deprecated.
|
static Blob.BlobSourceOption |
generationMatch()
Returns an option for blob's generation match.
|
static Blob.BlobSourceOption |
generationNotMatch()
Deprecated.
This option is invalid, and can never result in a valid response from the server.
|
int |
hashCode()
Deprecated.
|
static Blob.BlobSourceOption |
metagenerationMatch()
Returns an option for blob's metageneration match.
|
static Blob.BlobSourceOption |
metagenerationNotMatch()
Returns an option for blob's metageneration mismatch.
|
static Blob.BlobSourceOption |
shouldReturnRawInputStream(boolean shouldReturnRawInputStream)
Returns an option for whether the request should return the raw input stream, instead of
automatically decompressing the content.
|
String |
toString()
Deprecated.
|
static Blob.BlobSourceOption |
userProject(@NonNull String userProject)
Returns an option for blob's billing user project.
|
@TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption generationMatch()
@Deprecated @TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption generationNotMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption metagenerationMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption metagenerationNotMatch()
@TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption decryptionKey(@NonNull Key key)
@TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption decryptionKey(@NonNull String key)
key
- the AES256 encoded in base64@TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption userProject(@NonNull String userProject)
@TransportCompatibility(value={HTTP,GRPC}) public static Blob.BlobSourceOption shouldReturnRawInputStream(boolean shouldReturnRawInputStream)
@BetaApi public static Blob.BlobSourceOption[] dedupe(Blob.BlobSourceOption... os)
os
will be the value included in the return.@BetaApi public static Blob.BlobSourceOption[] dedupe(Collection<Blob.BlobSourceOption> collection, Blob.BlobSourceOption... os)
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
.
@BetaApi public static Blob.BlobSourceOption[] dedupe(Blob.BlobSourceOption[] array, Blob.BlobSourceOption... os)
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
.
Copyright © 2023 Google LLC. All rights reserved.