Class DiscoveryFileStoreConditions (3.55.0)

public final class DiscoveryFileStoreConditions extends GeneratedMessageV3 implements DiscoveryFileStoreConditionsOrBuilder

Requirements that must be true before a file store is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.

Protobuf type google.privacy.dlp.v2.DiscoveryFileStoreConditions

Static Fields

CLOUD_STORAGE_CONDITIONS_FIELD_NUMBER

public static final int CLOUD_STORAGE_CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

CREATED_AFTER_FIELD_NUMBER

public static final int CREATED_AFTER_FIELD_NUMBER
Field Value
Type Description
int

MIN_AGE_FIELD_NUMBER

public static final int MIN_AGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoveryFileStoreConditions getDefaultInstance()
Returns
Type Description
DiscoveryFileStoreConditions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DiscoveryFileStoreConditions.Builder newBuilder()
Returns
Type Description
DiscoveryFileStoreConditions.Builder

newBuilder(DiscoveryFileStoreConditions prototype)

public static DiscoveryFileStoreConditions.Builder newBuilder(DiscoveryFileStoreConditions prototype)
Parameter
Name Description
prototype DiscoveryFileStoreConditions
Returns
Type Description
DiscoveryFileStoreConditions.Builder

parseDelimitedFrom(InputStream input)

public static DiscoveryFileStoreConditions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryFileStoreConditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DiscoveryFileStoreConditions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryFileStoreConditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiscoveryFileStoreConditions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryFileStoreConditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiscoveryFileStoreConditions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryFileStoreConditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DiscoveryFileStoreConditions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryFileStoreConditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DiscoveryFileStoreConditions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryFileStoreConditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryFileStoreConditions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DiscoveryFileStoreConditions> parser()
Returns
Type Description
Parser<DiscoveryFileStoreConditions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCloudStorageConditions()

public DiscoveryCloudStorageConditions getCloudStorageConditions()

Optional. Cloud Storage conditions.

.google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryCloudStorageConditions

The cloudStorageConditions.

getCloudStorageConditionsOrBuilder()

public DiscoveryCloudStorageConditionsOrBuilder getCloudStorageConditionsOrBuilder()

Optional. Cloud Storage conditions.

.google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryCloudStorageConditionsOrBuilder

getConditionsCase()

public DiscoveryFileStoreConditions.ConditionsCase getConditionsCase()
Returns
Type Description
DiscoveryFileStoreConditions.ConditionsCase

getCreatedAfter()

public Timestamp getCreatedAfter()

Optional. File store must have been created after this date. Used to avoid backfilling.

.google.protobuf.Timestamp created_after = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The createdAfter.

getCreatedAfterOrBuilder()

public TimestampOrBuilder getCreatedAfterOrBuilder()

Optional. File store must have been created after this date. Used to avoid backfilling.

.google.protobuf.Timestamp created_after = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DiscoveryFileStoreConditions getDefaultInstanceForType()
Returns
Type Description
DiscoveryFileStoreConditions

getMinAge()

public Duration getMinAge()

Optional. Minimum age a file store must have. If set, the value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The minAge.

getMinAgeOrBuilder()

public DurationOrBuilder getMinAgeOrBuilder()

Optional. Minimum age a file store must have. If set, the value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getParserForType()

public Parser<DiscoveryFileStoreConditions> getParserForType()
Returns
Type Description
Parser<DiscoveryFileStoreConditions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCloudStorageConditions()

public boolean hasCloudStorageConditions()

Optional. Cloud Storage conditions.

.google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cloudStorageConditions field is set.

hasCreatedAfter()

public boolean hasCreatedAfter()

Optional. File store must have been created after this date. Used to avoid backfilling.

.google.protobuf.Timestamp created_after = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the createdAfter field is set.

hasMinAge()

public boolean hasMinAge()

Optional. Minimum age a file store must have. If set, the value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minAge field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DiscoveryFileStoreConditions.Builder newBuilderForType()
Returns
Type Description
DiscoveryFileStoreConditions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiscoveryFileStoreConditions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DiscoveryFileStoreConditions.Builder toBuilder()
Returns
Type Description
DiscoveryFileStoreConditions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException