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 Details

  • Field Details

    • CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED_VALUE

      public static final int CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED_VALUE
       Unused.
       
      CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED = 0;
      See Also:
    • ALL_SUPPORTED_BUCKETS_VALUE

      public static final int ALL_SUPPORTED_BUCKETS_VALUE
       Scan buckets regardless of the attribute.
       
      ALL_SUPPORTED_BUCKETS = 1;
      See Also:
    • AUTOCLASS_DISABLED_VALUE

      public static final int AUTOCLASS_DISABLED_VALUE
       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;
      See Also:
    • AUTOCLASS_ENABLED_VALUE

      public static final int AUTOCLASS_ENABLED_VALUE
       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;
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      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 name
      NullPointerException - 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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null