Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
com.google.cloud.storage.transfermanager |
Modifier and Type | Method and Description |
---|---|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.decryptionKey(@NonNull Key key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.decryptionKey(@NonNull String key)
Returns an option to set a customer-supplied AES256 key for server-side encryption of the
blob.
|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Collection<Storage.BlobSourceOption> collection,
Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Storage.BlobSourceOption[] array,
Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationMatch()
Returns an option for blob's data generation match.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationMatch(long generation)
Returns an option for blob's data generation match.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationNotMatch()
Deprecated.
This option is invalid, and can never result in a valid response from the server.
use
generationNotMatch(long) instead. |
static Storage.BlobSourceOption |
Storage.BlobSourceOption.generationNotMatch(long generation)
Returns an option for blob's data generation mismatch.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.metagenerationMatch(long metageneration)
Returns an option for blob's metageneration match.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.metagenerationNotMatch(long metageneration)
Returns an option for blob's metageneration mismatch.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.shouldReturnRawInputStream(boolean shouldReturnRawInputStream)
Returns an option for whether the request should return the raw input stream, instead of
automatically decompressing the content.
|
static Storage.BlobSourceOption |
Storage.BlobSourceOption.userProject(@NonNull String userProject)
Returns an option for blob's billing user project.
|
Modifier and Type | Method and Description |
---|---|
List<Storage.BlobSourceOption> |
Storage.CopyRequest.getSourceOptions()
Returns blob's source options.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Collection<Storage.BlobSourceOption> collection,
Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Storage.BlobSourceOption[] array,
Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Storage.BlobSourceOption[] array,
Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
boolean |
Storage.delete(BlobId blob,
Storage.BlobSourceOption... options)
Deletes the requested blob.
|
StorageBatchResult<Boolean> |
StorageBatch.delete(BlobId blob,
Storage.BlobSourceOption... options)
Adds a request representing the "delete blob" operation to this batch.
|
boolean |
Storage.delete(String bucket,
String blob,
Storage.BlobSourceOption... options)
Deletes the requested blob.
|
StorageBatchResult<Boolean> |
StorageBatch.delete(String bucket,
String blob,
Storage.BlobSourceOption... options)
Adds a request representing the "delete blob" operation to this batch.
|
void |
Storage.downloadTo(BlobId blob,
OutputStream outputStream,
Storage.BlobSourceOption... options)
Downloads the given blob to the given output stream using specified blob read options.
|
void |
Storage.downloadTo(BlobId blob,
Path path,
Storage.BlobSourceOption... options)
Downloads the given blob to the given path using specified blob read options.
|
byte[] |
Storage.readAllBytes(BlobId blob,
Storage.BlobSourceOption... options)
Reads all the bytes from a blob.
|
byte[] |
Storage.readAllBytes(String bucket,
String blob,
Storage.BlobSourceOption... options)
Reads all the bytes from a blob.
|
com.google.cloud.ReadChannel |
Storage.reader(BlobId blob,
Storage.BlobSourceOption... options)
Returns a channel for reading the blob's content.
|
com.google.cloud.ReadChannel |
Storage.reader(String bucket,
String blob,
Storage.BlobSourceOption... options)
Returns a channel for reading the blob's content.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setSourceOptions(Storage.BlobSourceOption... options)
Sets blob's source options.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BlobSourceOption[] |
Storage.BlobSourceOption.dedupe(Collection<Storage.BlobSourceOption> collection,
Storage.BlobSourceOption... os)
Deduplicate any options which are the same parameter.
|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.setSourceOptions(Iterable<Storage.BlobSourceOption> options)
Sets blob's source options.
|
Modifier and Type | Method and Description |
---|---|
ParallelDownloadConfig.Builder |
ParallelDownloadConfig.Builder.setOptionsPerRequest(List<Storage.BlobSourceOption> optionsPerRequest)
Sets the BlobSourceOptions that will be applied to each download request.
|
Copyright © 2023 Google LLC. All rights reserved.