Package com.google.cloud.storage
Class ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy
java.lang.Object
com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ParallelCompositeUploadBlobWriteSessionConfig
@BetaApi
@Immutable
public abstract static class ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy
extends Object
implements Serializable
A naming strategy which will be used to generate a name for a part or intermediary compose
object.
- Since:
- 2.28.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnoPrefix()Default strategy in which no stable prefix is defined.Strategy in which an explicit stable prefix is present on each part and intermediary compose object.
-
Method Details
-
noPrefix
Default strategy in which no stable prefix is defined.General format is
{randomKeyDigest};{objectInfoDigest};{partIndex}.part{objectInfoDigest}will be fixed for an individualBlobWriteSession.NOTE:The way in which both
randomKeyDigestandobjectInfoDigestare generated is undefined and subject to change at any time.- Since:
- 2.28.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
prefix
@BetaApi public static ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy prefix(String prefixPattern) Strategy in which an explicit stable prefix is present on each part and intermediary compose object.General format is
{prefixPattern}/{randomKeyDigest};{objectInfoDigest};{partIndex}.part{objectInfoDigest}will be fixed for an individualBlobWriteSession.NOTE:The way in which both
randomKeyDigestandobjectInfoDigestare generated is undefined and subject to change at any time.Care must be taken when choosing to specify a stable prefix as this can create hotspots in the keyspace for object names. See Object Naming Convention Guidelines for more details.
- Since:
- 2.28.0 This new api is in preview and is subject to breaking changes.
- See Also:
-