| Package | Description |
|---|---|
| com.google.cloud.storage |
A client to Google Cloud Storage.
|
| Modifier and Type | Method and Description |
|---|---|
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()
Returns an option for blob's data generation mismatch.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
List<Storage.BlobSourceOption> |
Storage.CopyRequest.sourceOptions()
Returns blob's source options.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Blob.content(Storage.BlobSourceOption... options)
Returns this blob's content.
|
StorageBatchResult<Boolean> |
StorageBatch.delete(BlobId blob,
Storage.BlobSourceOption... options)
Adds a request representing the "delete blob" operation to this batch.
|
boolean |
Storage.delete(BlobId 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.
|
boolean |
Storage.delete(String bucket,
String blob,
Storage.BlobSourceOption... options)
Deletes the requested blob.
|
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.
|
ReadChannel |
Storage.reader(BlobId blob,
Storage.BlobSourceOption... options)
Returns a channel for reading the blob's content.
|
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.sourceOptions(Storage.BlobSourceOption... options)
Sets blob's source options.
|
| Modifier and Type | Method and Description |
|---|---|
Storage.CopyRequest.Builder |
Storage.CopyRequest.Builder.sourceOptions(Iterable<Storage.BlobSourceOption> options)
Sets blob's source options.
|
Copyright © 2016 Google. All rights reserved.