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
ProtocolMessageEnumStatic 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_VALUE | For each file larger than bytes_limit_per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous. |
SAMPLE_METHOD_UNSPECIFIED | No sampling. |
SAMPLE_METHOD_UNSPECIFIED_VALUE | No sampling. |
TOP | Scan from the top (default). |
TOP_VALUE | Scan from the top (default). |
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() |