Class DiscoveryFileStoreConditions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryFileStoreConditions
All Implemented Interfaces:
DiscoveryFileStoreConditionsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DiscoveryFileStoreConditions extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • CREATED_AFTER_FIELD_NUMBER

      public static final int CREATED_AFTER_FIELD_NUMBER
      See Also:
    • MIN_AGE_FIELD_NUMBER

      public static final int MIN_AGE_FIELD_NUMBER
      See Also:
    • CLOUD_STORAGE_CONDITIONS_FIELD_NUMBER

      public static final int CLOUD_STORAGE_CONDITIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getConditionsCase

      public DiscoveryFileStoreConditions.ConditionsCase getConditionsCase()
      Specified by:
      getConditionsCase in interface DiscoveryFileStoreConditionsOrBuilder
    • 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];
      Specified by:
      hasCreatedAfter in interface DiscoveryFileStoreConditionsOrBuilder
      Returns:
      Whether the createdAfter field is set.
    • getCreatedAfter

      public com.google.protobuf.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];
      Specified by:
      getCreatedAfter in interface DiscoveryFileStoreConditionsOrBuilder
      Returns:
      The createdAfter.
    • getCreatedAfterOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getCreatedAfterOrBuilder in interface DiscoveryFileStoreConditionsOrBuilder
    • 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];
      Specified by:
      hasMinAge in interface DiscoveryFileStoreConditionsOrBuilder
      Returns:
      Whether the minAge field is set.
    • getMinAge

      public com.google.protobuf.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];
      Specified by:
      getMinAge in interface DiscoveryFileStoreConditionsOrBuilder
      Returns:
      The minAge.
    • getMinAgeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getMinAgeOrBuilder in interface DiscoveryFileStoreConditionsOrBuilder
    • hasCloudStorageConditions

      public boolean hasCloudStorageConditions()
       Optional. Cloud Storage conditions.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCloudStorageConditions in interface DiscoveryFileStoreConditionsOrBuilder
      Returns:
      Whether the cloudStorageConditions field is set.
    • getCloudStorageConditions

      public DiscoveryCloudStorageConditions getCloudStorageConditions()
       Optional. Cloud Storage conditions.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCloudStorageConditions in interface DiscoveryFileStoreConditionsOrBuilder
      Returns:
      The cloudStorageConditions.
    • getCloudStorageConditionsOrBuilder

      public DiscoveryCloudStorageConditionsOrBuilder getCloudStorageConditionsOrBuilder()
       Optional. Cloud Storage conditions.
       
      .google.privacy.dlp.v2.DiscoveryCloudStorageConditions cloud_storage_conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCloudStorageConditionsOrBuilder in interface DiscoveryFileStoreConditionsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryFileStoreConditions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryFileStoreConditions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryFileStoreConditions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DiscoveryFileStoreConditions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DiscoveryFileStoreConditions.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DiscoveryFileStoreConditions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DiscoveryFileStoreConditions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DiscoveryFileStoreConditions> parser()
    • getParserForType

      public com.google.protobuf.Parser<DiscoveryFileStoreConditions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DiscoveryFileStoreConditions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder