Uses of Class
com.google.cloud.storage.Blob
Packages that use Blob
-
Uses of Blob in com.google.cloud.storage
Methods in com.google.cloud.storage that return BlobModifier and TypeMethodDescriptionBlob.Builder.build()Storage.compose(Storage.ComposeRequest composeRequest) Sends a compose request.Bucket.create(String blob, byte[] content, Bucket.BlobTargetOption... options) Creates a new blob in this bucket.Bucket.create(String blob, byte[] content, String contentType, Bucket.BlobTargetOption... options) Creates a new blob in this bucket.Bucket.create(String blob, InputStream content, Bucket.BlobWriteOption... options) Creates a new blob in this bucket.Bucket.create(String blob, InputStream content, String contentType, Bucket.BlobWriteOption... options) Creates a new blob in this bucket.Storage.create(BlobInfo blobInfo, byte[] content, int offset, int length, Storage.BlobTargetOption... options) Creates a new blob with the sub array of the given byte array.Storage.create(BlobInfo blobInfo, byte[] content, Storage.BlobTargetOption... options) Creates a new blob.Storage.create(BlobInfo blobInfo, Storage.BlobTargetOption... options) Creates a new blob with no content.Storage.create(BlobInfo blobInfo, InputStream content, Storage.BlobWriteOption... options) Deprecated.Storage.createFrom(BlobInfo blobInfo, InputStream content, int bufferSize, Storage.BlobWriteOption... options) Reads bytes from an input stream and uploads those bytes to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)andbufferSize.Storage.createFrom(BlobInfo blobInfo, InputStream content, Storage.BlobWriteOption... options) Reads bytes from an input stream and uploads those bytes to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...).Storage.createFrom(BlobInfo blobInfo, Path path, int bufferSize, Storage.BlobWriteOption... options) Uploadspathto the blob usingResumableSession.Storage.createFrom(BlobInfo blobInfo, Path path, Storage.BlobWriteOption... options) Uploadspathto the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...).Bucket.get(String blob, Storage.BlobGetOption... options) Returns the requested blob in this bucket ornullif not found.Bucket.get(String blob, Long generation, Storage.BlobGetOption... options) Returns the requested blob in this bucket of a specific generation ornullif not found.Returns the requested blob ornullif not found.Storage.get(BlobId blob, Storage.BlobGetOption... options) Returns the requested blob ornullif not found.Storage.get(String bucket, String blob, Storage.BlobGetOption... options) Returns the requested blob ornullif not found.abstract BlobCopyWriter.getResult()Returns the updated information for the written blob.HttpCopyWriter.getResult()Blob.reload(Blob.BlobSourceOption... options) Fetches the latest blob properties.Storage.restore(BlobId blob, Storage.BlobRestoreOption... options) Restores a soft-deleted object to full object status and returns the object.Blob.update(Storage.BlobTargetOption... options) Updates the blob properties.Updates the properties of the blob.Storage.update(BlobInfo blobInfo, Storage.BlobTargetOption... options) Updates the blob properties if the preconditions specified byoptionsare met.Methods in com.google.cloud.storage that return types with arguments of type BlobModifier and TypeMethodDescriptionReturns a list of requested blobs in this bucket.Returns a list of requested blobs in this bucket.Gets the requested blobs.Gets the requested blobs.StorageBatch.get(BlobId blob, Storage.BlobGetOption... options) Adds a request representing the "get blob" operation to this batch.StorageBatch.get(String bucket, String blob, Storage.BlobGetOption... options) Adds a request representing the "get blob" operation to this batch.com.google.api.gax.paging.Page<Blob>Bucket.list(Storage.BlobListOption... options) Returns the paginated list ofBlobin this bucket.com.google.api.gax.paging.Page<Blob>Storage.list(String bucket, Storage.BlobListOption... options) Lists the bucket's blobs.Updates the requested blobs.Updates the requested blobs.StorageBatch.update(BlobInfo blobInfo, Storage.BlobTargetOption... options) Adds a request representing the "update blob" operation to this batch.