Class DiscoveryFileStoreConditions.Builder (3.57.0)

public static final class DiscoveryFileStoreConditions.Builder extends GeneratedMessageV3.Builder<DiscoveryFileStoreConditions.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryFileStoreConditions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

build()

public DiscoveryFileStoreConditions build()
Returns
Type Description
DiscoveryFileStoreConditions

buildPartial()

public DiscoveryFileStoreConditions buildPartial()
Returns
Type Description
DiscoveryFileStoreConditions

clear()

public DiscoveryFileStoreConditions.Builder clear()
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

clearCloudStorageConditions()

public DiscoveryFileStoreConditions.Builder clearCloudStorageConditions()

Optional. Cloud Storage conditions.

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

Returns
Type Description
DiscoveryFileStoreConditions.Builder

clearConditions()

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

clearCreatedAfter()

public DiscoveryFileStoreConditions.Builder clearCreatedAfter()

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
DiscoveryFileStoreConditions.Builder

clearField(Descriptors.FieldDescriptor field)

public DiscoveryFileStoreConditions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

clearMinAge()

public DiscoveryFileStoreConditions.Builder clearMinAge()

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
DiscoveryFileStoreConditions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryFileStoreConditions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

clone()

public DiscoveryFileStoreConditions.Builder clone()
Returns
Type Description
DiscoveryFileStoreConditions.Builder
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.

getCloudStorageConditionsBuilder()

public DiscoveryCloudStorageConditions.Builder getCloudStorageConditionsBuilder()

Optional. Cloud Storage conditions.

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

Returns
Type Description
DiscoveryCloudStorageConditions.Builder

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.

getCreatedAfterBuilder()

public Timestamp.Builder getCreatedAfterBuilder()

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
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMinAgeBuilder()

public Duration.Builder getMinAgeBuilder()

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
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudStorageConditions(DiscoveryCloudStorageConditions value)

public DiscoveryFileStoreConditions.Builder mergeCloudStorageConditions(DiscoveryCloudStorageConditions value)

Optional. Cloud Storage conditions.

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

Parameter
Name Description
value DiscoveryCloudStorageConditions
Returns
Type Description
DiscoveryFileStoreConditions.Builder

mergeCreatedAfter(Timestamp value)

public DiscoveryFileStoreConditions.Builder mergeCreatedAfter(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DiscoveryFileStoreConditions.Builder

mergeFrom(DiscoveryFileStoreConditions other)

public DiscoveryFileStoreConditions.Builder mergeFrom(DiscoveryFileStoreConditions other)
Parameter
Name Description
other DiscoveryFileStoreConditions
Returns
Type Description
DiscoveryFileStoreConditions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryFileStoreConditions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiscoveryFileStoreConditions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

mergeMinAge(Duration value)

public DiscoveryFileStoreConditions.Builder mergeMinAge(Duration value)

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];

Parameter
Name Description
value Duration
Returns
Type Description
DiscoveryFileStoreConditions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryFileStoreConditions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

setCloudStorageConditions(DiscoveryCloudStorageConditions value)

public DiscoveryFileStoreConditions.Builder setCloudStorageConditions(DiscoveryCloudStorageConditions value)

Optional. Cloud Storage conditions.

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

Parameter
Name Description
value DiscoveryCloudStorageConditions
Returns
Type Description
DiscoveryFileStoreConditions.Builder

setCloudStorageConditions(DiscoveryCloudStorageConditions.Builder builderForValue)

public DiscoveryFileStoreConditions.Builder setCloudStorageConditions(DiscoveryCloudStorageConditions.Builder builderForValue)

Optional. Cloud Storage conditions.

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

Parameter
Name Description
builderForValue DiscoveryCloudStorageConditions.Builder
Returns
Type Description
DiscoveryFileStoreConditions.Builder

setCreatedAfter(Timestamp value)

public DiscoveryFileStoreConditions.Builder setCreatedAfter(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DiscoveryFileStoreConditions.Builder

setCreatedAfter(Timestamp.Builder builderForValue)

public DiscoveryFileStoreConditions.Builder setCreatedAfter(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DiscoveryFileStoreConditions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryFileStoreConditions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

setMinAge(Duration value)

public DiscoveryFileStoreConditions.Builder setMinAge(Duration value)

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];

Parameter
Name Description
value Duration
Returns
Type Description
DiscoveryFileStoreConditions.Builder

setMinAge(Duration.Builder builderForValue)

public DiscoveryFileStoreConditions.Builder setMinAge(Duration.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DiscoveryFileStoreConditions.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiscoveryFileStoreConditions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryFileStoreConditions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryFileStoreConditions.Builder
Overrides