Class DiscoveryCloudStorageConditions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryCloudStorageConditions
All Implemented Interfaces:
DiscoveryCloudStorageConditionsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DiscoveryCloudStorageConditions extends com.google.protobuf.GeneratedMessage implements DiscoveryCloudStorageConditionsOrBuilder
 Requirements that must be true before a Cloud Storage bucket or object is
 scanned in discovery for the first time. There is an AND relationship between
 the top-level attributes.
 
Protobuf type google.privacy.dlp.v2.DiscoveryCloudStorageConditions
See Also:
  • Field Details

    • INCLUDED_OBJECT_ATTRIBUTES_FIELD_NUMBER

      public static final int INCLUDED_OBJECT_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • INCLUDED_BUCKET_ATTRIBUTES_FIELD_NUMBER

      public static final int INCLUDED_BUCKET_ATTRIBUTES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getIncludedObjectAttributesList

      public List<DiscoveryCloudStorageConditions.CloudStorageObjectAttribute> getIncludedObjectAttributesList()
       Required. Only objects with the specified attributes will be scanned. If an
       object has one of the specified attributes but is inside an excluded
       bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A
       profile will be created even if no objects match the
       included_object_attributes.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute included_object_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedObjectAttributesList in interface DiscoveryCloudStorageConditionsOrBuilder
      Returns:
      A list containing the includedObjectAttributes.
    • getIncludedObjectAttributesCount

      public int getIncludedObjectAttributesCount()
       Required. Only objects with the specified attributes will be scanned. If an
       object has one of the specified attributes but is inside an excluded
       bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A
       profile will be created even if no objects match the
       included_object_attributes.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute included_object_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedObjectAttributesCount in interface DiscoveryCloudStorageConditionsOrBuilder
      Returns:
      The count of includedObjectAttributes.
    • getIncludedObjectAttributes

      public DiscoveryCloudStorageConditions.CloudStorageObjectAttribute getIncludedObjectAttributes(int index)
       Required. Only objects with the specified attributes will be scanned. If an
       object has one of the specified attributes but is inside an excluded
       bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A
       profile will be created even if no objects match the
       included_object_attributes.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute included_object_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedObjectAttributes in interface DiscoveryCloudStorageConditionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The includedObjectAttributes at the given index.
    • getIncludedObjectAttributesValueList

      public List<Integer> getIncludedObjectAttributesValueList()
       Required. Only objects with the specified attributes will be scanned. If an
       object has one of the specified attributes but is inside an excluded
       bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A
       profile will be created even if no objects match the
       included_object_attributes.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute included_object_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedObjectAttributesValueList in interface DiscoveryCloudStorageConditionsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for includedObjectAttributes.
    • getIncludedObjectAttributesValue

      public int getIncludedObjectAttributesValue(int index)
       Required. Only objects with the specified attributes will be scanned. If an
       object has one of the specified attributes but is inside an excluded
       bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A
       profile will be created even if no objects match the
       included_object_attributes.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute included_object_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedObjectAttributesValue in interface DiscoveryCloudStorageConditionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of includedObjectAttributes at the given index.
    • getIncludedBucketAttributesList

      public List<DiscoveryCloudStorageConditions.CloudStorageBucketAttribute> getIncludedBucketAttributesList()
       Required. Only objects with the specified attributes will be scanned.
       Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute included_bucket_attributes = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedBucketAttributesList in interface DiscoveryCloudStorageConditionsOrBuilder
      Returns:
      A list containing the includedBucketAttributes.
    • getIncludedBucketAttributesCount

      public int getIncludedBucketAttributesCount()
       Required. Only objects with the specified attributes will be scanned.
       Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute included_bucket_attributes = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedBucketAttributesCount in interface DiscoveryCloudStorageConditionsOrBuilder
      Returns:
      The count of includedBucketAttributes.
    • getIncludedBucketAttributes

      public DiscoveryCloudStorageConditions.CloudStorageBucketAttribute getIncludedBucketAttributes(int index)
       Required. Only objects with the specified attributes will be scanned.
       Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute included_bucket_attributes = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedBucketAttributes in interface DiscoveryCloudStorageConditionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The includedBucketAttributes at the given index.
    • getIncludedBucketAttributesValueList

      public List<Integer> getIncludedBucketAttributesValueList()
       Required. Only objects with the specified attributes will be scanned.
       Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute included_bucket_attributes = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedBucketAttributesValueList in interface DiscoveryCloudStorageConditionsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for includedBucketAttributes.
    • getIncludedBucketAttributesValue

      public int getIncludedBucketAttributesValue(int index)
       Required. Only objects with the specified attributes will be scanned.
       Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
       
      repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute included_bucket_attributes = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIncludedBucketAttributesValue in interface DiscoveryCloudStorageConditionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of includedBucketAttributes at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryCloudStorageConditions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryCloudStorageConditions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryCloudStorageConditions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DiscoveryCloudStorageConditions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DiscoveryCloudStorageConditions.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DiscoveryCloudStorageConditions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DiscoveryCloudStorageConditions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DiscoveryCloudStorageConditions> parser()
    • getParserForType

      public com.google.protobuf.Parser<DiscoveryCloudStorageConditions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DiscoveryCloudStorageConditions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder