Send feedback
Class DiscoveryCloudStorageConditions (3.59.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.59.0 keyboard_arrow_down
public final class DiscoveryCloudStorageConditions extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
INCLUDED_BUCKET_ATTRIBUTES_FIELD_NUMBER
public static final int INCLUDED_BUCKET_ATTRIBUTES_FIELD_NUMBER
Field Value
Type
Description
int
INCLUDED_OBJECT_ATTRIBUTES_FIELD_NUMBER
public static final int INCLUDED_OBJECT_ATTRIBUTES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static DiscoveryCloudStorageConditions getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DiscoveryCloudStorageConditions . Builder newBuilder ()
newBuilder(DiscoveryCloudStorageConditions prototype)
public static DiscoveryCloudStorageConditions . Builder newBuilder ( DiscoveryCloudStorageConditions prototype )
public static DiscoveryCloudStorageConditions parseDelimitedFrom ( InputStream input )
public static DiscoveryCloudStorageConditions parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DiscoveryCloudStorageConditions parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudStorageConditions parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DiscoveryCloudStorageConditions parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudStorageConditions parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DiscoveryCloudStorageConditions parseFrom ( CodedInputStream input )
public static DiscoveryCloudStorageConditions parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DiscoveryCloudStorageConditions parseFrom ( InputStream input )
public static DiscoveryCloudStorageConditions parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DiscoveryCloudStorageConditions parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryCloudStorageConditions parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DiscoveryCloudStorageConditions> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public DiscoveryCloudStorageConditions getDefaultInstanceForType ()
getIncludedBucketAttributes(int index)
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];
Parameter
Name
Description
index
int
The index of the element to return.
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];
Returns
Type
Description
int
The count of includedBucketAttributes.
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];
getIncludedBucketAttributesValue(int index)
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];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
int
The enum numeric value on the wire of 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];
Returns
Type
Description
List <Integer >
A list containing the enum numeric values on the wire for includedBucketAttributes.
getIncludedObjectAttributes(int index)
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];
Parameter
Name
Description
index
int
The index of the element to return.
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];
Returns
Type
Description
int
The count of includedObjectAttributes.
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];
getIncludedObjectAttributesValue(int index)
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];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
int
The enum numeric value on the wire of 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];
Returns
Type
Description
List <Integer >
A list containing the enum numeric values on the wire for includedObjectAttributes.
getParserForType()
public Parser<DiscoveryCloudStorageConditions> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public DiscoveryCloudStorageConditions . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryCloudStorageConditions . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public DiscoveryCloudStorageConditions . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]