Enum SourceDeletionOptionV2 (0.37.0)

public enum SourceDeletionOptionV2 extends Enum<SourceDeletionOptionV2> implements ProtocolMessageEnum

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

Protobuf enum google.cloud.chronicle.v1.SourceDeletionOptionV2

Implements

ProtocolMessageEnum

Static Fields

Name Description
NEVER

Never delete files from the source.

NEVER = 1;

NEVER_VALUE

Never delete files from the source.

NEVER = 1;

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.

ON_SUCCESS = 2;

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.

ON_SUCCESS = 2;

SOURCE_DELETION_OPTION_V2_UNSPECIFIED

If encountered, will be treated as SOURCE_DELETION_NEVER.

SOURCE_DELETION_OPTION_V2_UNSPECIFIED = 0;

SOURCE_DELETION_OPTION_V2_UNSPECIFIED_VALUE

If encountered, will be treated as SOURCE_DELETION_NEVER.

SOURCE_DELETION_OPTION_V2_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()