Enum CloudStorageOptions.SampleMethod (3.50.0)

public enum CloudStorageOptions.SampleMethod extends Enum<CloudStorageOptions.SampleMethod> implements ProtocolMessageEnum

How to sample bytes if not all bytes are scanned. Meaningful only when used in conjunction with bytes_limit_per_file. If not specified, scanning would start from the top.

Protobuf enum google.privacy.dlp.v2.CloudStorageOptions.SampleMethod

Implements

ProtocolMessageEnum

Static Fields

Name Description
RANDOM_START

For each file larger than bytes_limit_per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous.

RANDOM_START = 2;

RANDOM_START_VALUE

For each file larger than bytes_limit_per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous.

RANDOM_START = 2;

SAMPLE_METHOD_UNSPECIFIED

No sampling.

SAMPLE_METHOD_UNSPECIFIED = 0;

SAMPLE_METHOD_UNSPECIFIED_VALUE

No sampling.

SAMPLE_METHOD_UNSPECIFIED = 0;

TOP

Scan from the top (default).

TOP = 1;

TOP_VALUE

Scan from the top (default).

TOP = 1;

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