public static final class DiscoveryFileStoreConditions.Builder extends GeneratedMessage.Builder<DiscoveryFileStoreConditions.Builder> implements DiscoveryFileStoreConditionsOrBuilderRequirements 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveryFileStoreConditions.BuilderImplements
DiscoveryFileStoreConditionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveryFileStoreConditions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveryFileStoreConditions.Builder |
|
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 |
|
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 |
|
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 |
|