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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiscoveryFileStoreConditions.Builder newBuilder()
newBuilder(DiscoveryFileStoreConditions prototype)
public static DiscoveryFileStoreConditions.Builder newBuilder(DiscoveryFileStoreConditions prototype)
public static DiscoveryFileStoreConditions parseDelimitedFrom(InputStream input)
public static DiscoveryFileStoreConditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiscoveryFileStoreConditions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryFileStoreConditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiscoveryFileStoreConditions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryFileStoreConditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryFileStoreConditions parseFrom(CodedInputStream input)
public static DiscoveryFileStoreConditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiscoveryFileStoreConditions parseFrom(InputStream input)
public static DiscoveryFileStoreConditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiscoveryFileStoreConditions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryFileStoreConditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiscoveryFileStoreConditions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCloudStorageConditions()
public DiscoveryCloudStorageConditions getCloudStorageConditions()
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.
|
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()
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];
getParserForType()
public Parser<DiscoveryFileStoreConditions> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiscoveryFileStoreConditions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryFileStoreConditions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiscoveryFileStoreConditions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides