Package com.google.cloud.storage
Enum BlobAppendableUploadConfig.CloseAction
java.lang.Object
java.lang.Enum<BlobAppendableUploadConfig.CloseAction>
com.google.cloud.storage.BlobAppendableUploadConfig.CloseAction
- All Implemented Interfaces:
Serializable,Comparable<BlobAppendableUploadConfig.CloseAction>
- Enclosing class:
- BlobAppendableUploadConfig
@BetaApi
public static enum BlobAppendableUploadConfig.CloseAction
extends Enum<BlobAppendableUploadConfig.CloseAction>
Enum providing the possible actions which can be taken during the
BlobAppendableUpload.AppendableUploadWriteableByteChannel.close() call.- Since:
- 2.51.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDesignate that whenBlobAppendableUpload.AppendableUploadWriteableByteChannel.close()is called, the appendable upload should NOT be finalized, allowing for takeover by another session or client.Designate that whenBlobAppendableUpload.AppendableUploadWriteableByteChannel.close()is called, the appendable upload should be finalized. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FINALIZE_WHEN_CLOSING
Designate that whenBlobAppendableUpload.AppendableUploadWriteableByteChannel.close()is called, the appendable upload should be finalized.- Since:
- 2.51.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
CLOSE_WITHOUT_FINALIZING
Designate that whenBlobAppendableUpload.AppendableUploadWriteableByteChannel.close()is called, the appendable upload should NOT be finalized, allowing for takeover by another session or client.- Since:
- 2.51.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-