Enum SourceDeletionOption (0.37.0)

public enum SourceDeletionOption extends Enum<SourceDeletionOption> implements ProtocolMessageEnum

Source deletion option controls whether source files should be deleted after transferring.

Protobuf enum google.cloud.chronicle.v1.SourceDeletionOption

Implements

ProtocolMessageEnum

Static Fields

Name Description
SOURCE_DELETION_NEVER

Never delete files from the source.

SOURCE_DELETION_NEVER = 1;

SOURCE_DELETION_NEVER_VALUE

Never delete files from the source.

SOURCE_DELETION_NEVER = 1;

SOURCE_DELETION_ON_SUCCESS

After the fetch completes, if there are no errors, delete files and any directories made empty by the file deletion from the source.

SOURCE_DELETION_ON_SUCCESS = 2;

SOURCE_DELETION_ON_SUCCESS_FILES_ONLY

After the fetch completes, if there are no errors, delete files (leaving any directories) from the source.

SOURCE_DELETION_ON_SUCCESS_FILES_ONLY = 3;

SOURCE_DELETION_ON_SUCCESS_FILES_ONLY_VALUE

After the fetch completes, if there are no errors, delete files (leaving any directories) from the source.

SOURCE_DELETION_ON_SUCCESS_FILES_ONLY = 3;

SOURCE_DELETION_ON_SUCCESS_VALUE

After the fetch completes, if there are no errors, delete files and any directories made empty by the file deletion from the source.

SOURCE_DELETION_ON_SUCCESS = 2;

SOURCE_DELETION_OPTION_UNSPECIFIED

If encountered, will be treated as SOURCE_DELETION_NEVER.

SOURCE_DELETION_OPTION_UNSPECIFIED = 0;

SOURCE_DELETION_OPTION_UNSPECIFIED_VALUE

If encountered, will be treated as SOURCE_DELETION_NEVER.

SOURCE_DELETION_OPTION_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()