Enum CloudStorageOptions.SampleMethod (3.7.6)

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

NameDescription
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

SAMPLE_METHOD_UNSPECIFIED = 0;

SAMPLE_METHOD_UNSPECIFIED_VALUE

SAMPLE_METHOD_UNSPECIFIED = 0;

TOP

Scan from the top (default).

TOP = 1;

TOP_VALUE

Scan from the top (default).

TOP = 1;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()