public static enum CloudStorageOptions.SampleMethod extends Enum<CloudStorageOptions.SampleMethod> implements com.google.protobuf.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| Enum Constant and Description |
|---|
RANDOM_START
For each file larger than bytes_limit_per_file, randomly pick the offset
to start scanning.
|
SAMPLE_METHOD_UNSPECIFIED
SAMPLE_METHOD_UNSPECIFIED = 0; |
TOP
Scan from the top (default).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RANDOM_START_VALUE
For each file larger than bytes_limit_per_file, randomly pick the offset
to start scanning.
|
static int |
SAMPLE_METHOD_UNSPECIFIED_VALUE
SAMPLE_METHOD_UNSPECIFIED = 0; |
static int |
TOP_VALUE
Scan from the top (default).
|
| Modifier and Type | Method and Description |
|---|---|
static CloudStorageOptions.SampleMethod |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<CloudStorageOptions.SampleMethod> |
internalGetValueMap() |
static CloudStorageOptions.SampleMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CloudStorageOptions.SampleMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CloudStorageOptions.SampleMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudStorageOptions.SampleMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudStorageOptions.SampleMethod SAMPLE_METHOD_UNSPECIFIED
SAMPLE_METHOD_UNSPECIFIED = 0;public static final CloudStorageOptions.SampleMethod TOP
Scan from the top (default).
TOP = 1;public static final CloudStorageOptions.SampleMethod 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;public static final CloudStorageOptions.SampleMethod UNRECOGNIZED
public static final int SAMPLE_METHOD_UNSPECIFIED_VALUE
SAMPLE_METHOD_UNSPECIFIED = 0;public static final int TOP_VALUE
Scan from the top (default).
TOP = 1;public static final int 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;public static CloudStorageOptions.SampleMethod[] values()
for (CloudStorageOptions.SampleMethod c : CloudStorageOptions.SampleMethod.values()) System.out.println(c);
public static CloudStorageOptions.SampleMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static CloudStorageOptions.SampleMethod valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CloudStorageOptions.SampleMethod forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CloudStorageOptions.SampleMethod> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CloudStorageOptions.SampleMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.