Package com.google.privacy.dlp.v2
Enum DiscoveryCloudStorageConditions.CloudStorageBucketAttribute
java.lang.Object
java.lang.Enum<DiscoveryCloudStorageConditions.CloudStorageBucketAttribute>
com.google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DiscoveryCloudStorageConditions.CloudStorageBucketAttribute>
- Enclosing class:
- DiscoveryCloudStorageConditions
public static enum DiscoveryCloudStorageConditions.CloudStorageBucketAttribute
extends Enum<DiscoveryCloudStorageConditions.CloudStorageBucketAttribute>
implements com.google.protobuf.ProtocolMessageEnum
The attribute of a bucket.Protobuf enum
google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionScan buckets regardless of the attribute.Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) disabled.Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) enabled.Unused. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intScan buckets regardless of the attribute.static final intBuckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) disabled.static final intBuckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) enabled.static final intUnused. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DiscoveryCloudStorageConditions.CloudStorageBucketAttribute>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED
public static final DiscoveryCloudStorageConditions.CloudStorageBucketAttribute CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIEDUnused.
CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED = 0; -
ALL_SUPPORTED_BUCKETS
public static final DiscoveryCloudStorageConditions.CloudStorageBucketAttribute ALL_SUPPORTED_BUCKETSScan buckets regardless of the attribute.
ALL_SUPPORTED_BUCKETS = 1; -
AUTOCLASS_DISABLED
Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) disabled. Only one of AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set.
AUTOCLASS_DISABLED = 2; -
AUTOCLASS_ENABLED
Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) enabled. Only one of AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. Scanning Autoclass-enabled buckets can affect object storage classes.
AUTOCLASS_ENABLED = 3; -
UNRECOGNIZED
-
-
Field Details
-
CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED_VALUE
public static final int CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED_VALUEUnused.
CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED = 0;- See Also:
-
ALL_SUPPORTED_BUCKETS_VALUE
public static final int ALL_SUPPORTED_BUCKETS_VALUEScan buckets regardless of the attribute.
ALL_SUPPORTED_BUCKETS = 1;- See Also:
-
AUTOCLASS_DISABLED_VALUE
public static final int AUTOCLASS_DISABLED_VALUEBuckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) disabled. Only one of AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set.
AUTOCLASS_DISABLED = 2;- See Also:
-
AUTOCLASS_ENABLED_VALUE
public static final int AUTOCLASS_ENABLED_VALUEBuckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) enabled. Only one of AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. Scanning Autoclass-enabled buckets can affect object storage classes.
AUTOCLASS_ENABLED = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static DiscoveryCloudStorageConditions.CloudStorageBucketAttribute valueOf(int value) Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<DiscoveryCloudStorageConditions.CloudStorageBucketAttribute> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static DiscoveryCloudStorageConditions.CloudStorageBucketAttribute valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-