Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Class and Description |
---|---|
static class |
Blob.Builder
Builder for
Blob . |
Modifier and Type | Method and Description |
---|---|
static BlobInfo.Builder |
BlobInfo.newBuilder(BlobId blobId)
Returns a
BlobInfo builder where blob identity is set using the provided value. |
static BlobInfo.Builder |
BlobInfo.newBuilder(BucketInfo bucketInfo,
String name)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
static BlobInfo.Builder |
BlobInfo.newBuilder(BucketInfo bucketInfo,
String name,
Long generation)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
static BlobInfo.Builder |
BlobInfo.newBuilder(String bucket,
String name)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
static BlobInfo.Builder |
BlobInfo.newBuilder(String bucket,
String name,
Long generation)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
abstract BlobInfo.Builder |
BlobInfo.Builder.setAcl(List<Acl> acl)
Sets the blob's access control configuration.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setBlobId(BlobId blobId)
Sets the blob identity.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setCacheControl(String cacheControl)
Sets the blob's data cache control.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setContentDisposition(String contentDisposition)
Sets the blob's data content disposition.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setContentEncoding(String contentEncoding)
Sets the blob's data content encoding.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setContentLanguage(String contentLanguage)
Sets the blob's data content language.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setContentType(String contentType)
Sets the blob's data content type.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setCrc32c(String crc32c)
Sets the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; encoded in
base64 in big-endian order.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setCrc32cFromHexString(String crc32cHexString)
Sets the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; from hex
string.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setEventBasedHold(Boolean eventBasedHold)
Sets the blob's event-based hold.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setMd5(String md5)
Sets the MD5 hash of blob's data.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setMd5FromHexString(String md5HexString)
Sets the MD5 hash of blob's data from hex string.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setMetadata(Map<String,String> metadata)
Sets the blob's user provided metadata.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setStorageClass(StorageClass storageClass)
Sets the blob's storage class.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.setTemporaryHold(Boolean temporaryHold)
Sets the blob's temporary hold.
|
BlobInfo.Builder |
BlobInfo.toBuilder()
Returns a builder for the current blob.
|
Copyright © 2019 Google LLC. All rights reserved.