Uses of Class
com.google.cloud.storage.BlobInfo
Packages that use BlobInfo
Package
Description
A client for Cloud Storage - Unified object storage.
-
Uses of BlobInfo in com.google.cloud.storage
Subclasses of BlobInfo in com.google.cloud.storageMethods in com.google.cloud.storage that return BlobInfoModifier and TypeMethodDescriptionBlob.asBlobInfo()Drop the heldStorageinstance.abstract BlobInfoBlobInfo.Builder.build()Creates aBlobInfoobject.Storage.ComposeRequest.getTarget()Returns compose operation's target blob.Storage.CopyRequest.getTarget()Returns theBlobInfofor the target blob.Methods in com.google.cloud.storage that return types with arguments of type BlobInfoModifier and TypeMethodDescriptioncom.google.api.core.ApiFuture<BlobInfo>BlobWriteSession.getResult()Return anApiFuture<BlobInfo>which will represent the state of the object upon finalization and success response from Google Cloud Storage.Methods in com.google.cloud.storage with parameters of type BlobInfoModifier and TypeMethodDescriptiondefault BlobWriteSessionStorage.blobWriteSession(BlobInfo blobInfo, Storage.BlobWriteOption... options) 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...).Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostConditionsV4 conditions, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any fields.Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostFieldsV4 fields, PostPolicyV4.PostConditionsV4 conditions, Storage.PostPolicyV4Option... options) Generates a URL and a map of fields that can be specified in an HTML form to submit a POST request.Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostFieldsV4 fields, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any conditions.Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any fields or conditions.static Storage.ComposeRequestCreates aComposeRequestobject.static Storage.CopyRequestCreates a copy request.static Storage.CopyRequestCreates a copy request.Sets compose operation's target blob.Storage.CopyRequest.Builder.setTarget(BlobInfo target, Storage.BlobTargetOption... options) Sets the copy target and target options.Storage.CopyRequest.Builder.setTarget(BlobInfo target, Iterable<Storage.BlobTargetOption> options) Sets the copy target and target options.Storage.signUrl(BlobInfo blobInfo, long duration, TimeUnit unit, Storage.SignUrlOption... options) Generates a signed URL for a blob.Updates the properties of the blob.Updates the requested blobs.Storage.update(BlobInfo blobInfo, Storage.BlobTargetOption... options) Updates the blob properties if the preconditions specified byoptionsare met.StorageBatch.update(BlobInfo blobInfo, Storage.BlobTargetOption... options) Adds a request representing the "update blob" operation to this batch.com.google.cloud.WriteChannelStorage.writer(BlobInfo blobInfo, Storage.BlobWriteOption... options) Creates a blob and returns a channel for writing its content.Method parameters in com.google.cloud.storage with type arguments of type BlobInfo -
Uses of BlobInfo in com.google.cloud.storage.transfermanager
Methods in com.google.cloud.storage.transfermanager that return BlobInfoModifier and TypeMethodDescription@NonNull BlobInfoDownloadResult.getInput()TheBlobInfofor the object requested for download.@NonNull BlobInfoUploadResult.getInput()TheBlobInfofor the object requested for upload.@NonNull BlobInfoUploadResult.getUploadedBlob()TheBlobInfofor the Uploaded object.Methods in com.google.cloud.storage.transfermanager with parameters of type BlobInfoModifier and TypeMethodDescriptionstatic DownloadResult.BuilderDownloadResult.newBuilder(@NonNull BlobInfo blobInfo, @NonNull TransferStatus status) static UploadResult.BuilderUploadResult.newBuilder(@NonNull BlobInfo input, @NonNull TransferStatus status) Sets theBlobInfofor the object request for download.Sets theBlobInfofor the object request for upload.UploadResult.Builder.setUploadedBlob(@NonNull BlobInfo uploadedBlob) Sets theBlobInfofor the uploaded object.Method parameters in com.google.cloud.storage.transfermanager with type arguments of type BlobInfoModifier and TypeMethodDescription@NonNull DownloadJobTransferManager.downloadBlobs(List<BlobInfo> blobs, ParallelDownloadConfig config) Downloads a list of blobs in parallel.