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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryFileStoreConditions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiscoveryFileStoreConditions build()
buildPartial()
public DiscoveryFileStoreConditions buildPartial()
clear()
public DiscoveryFileStoreConditions.Builder clear()
Overrides
clearCloudStorageConditions()
public DiscoveryFileStoreConditions.Builder clearCloudStorageConditions()
Optional. Cloud Storage conditions.
.google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
clearConditions()
public DiscoveryFileStoreConditions.Builder clearConditions()
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];
clearField(Descriptors.FieldDescriptor field)
public DiscoveryFileStoreConditions.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryFileStoreConditions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DiscoveryFileStoreConditions.Builder clone()
Overrides
getCloudStorageConditions()
public DiscoveryCloudStorageConditions getCloudStorageConditions()
Optional. Cloud Storage conditions.
.google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorageConditionsBuilder()
public DiscoveryCloudStorageConditions.Builder getCloudStorageConditionsBuilder()
Optional. Cloud Storage conditions.
.google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorageConditionsOrBuilder()
public DiscoveryCloudStorageConditionsOrBuilder getCloudStorageConditionsOrBuilder()
Optional. Cloud Storage conditions.
.google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
getConditionsCase()
public DiscoveryFileStoreConditions.ConditionsCase getConditionsCase()
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];
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];
getDefaultInstanceForType()
public DiscoveryFileStoreConditions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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];
mergeFrom(DiscoveryFileStoreConditions other)
public DiscoveryFileStoreConditions.Builder mergeFrom(DiscoveryFileStoreConditions other)
public DiscoveryFileStoreConditions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiscoveryFileStoreConditions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryFileStoreConditions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryFileStoreConditions.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryFileStoreConditions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryFileStoreConditions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides