Class OtherCloudDiscoveryTarget

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

@Generated public final class OtherCloudDiscoveryTarget extends com.google.protobuf.GeneratedMessage implements OtherCloudDiscoveryTargetOrBuilder
 Target used to match against for discovery of resources from other clouds.
 An [AWS connector in Security Command Center
 (Enterprise](https://cloud.google.com/security-command-center/docs/connect-scc-to-aws)
 is required to use this feature.
 
Protobuf type google.privacy.dlp.v2.OtherCloudDiscoveryTarget
See Also:
  • Field Details

    • DATA_SOURCE_TYPE_FIELD_NUMBER

      public static final int DATA_SOURCE_TYPE_FIELD_NUMBER
      See Also:
    • FILTER_FIELD_NUMBER

      public static final int FILTER_FIELD_NUMBER
      See Also:
    • CONDITIONS_FIELD_NUMBER

      public static final int CONDITIONS_FIELD_NUMBER
      See Also:
    • GENERATION_CADENCE_FIELD_NUMBER

      public static final int GENERATION_CADENCE_FIELD_NUMBER
      See Also:
    • DISABLED_FIELD_NUMBER

      public static final int DISABLED_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
    • getCadenceCase

      public OtherCloudDiscoveryTarget.CadenceCase getCadenceCase()
      Specified by:
      getCadenceCase in interface OtherCloudDiscoveryTargetOrBuilder
    • hasDataSourceType

      public boolean hasDataSourceType()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDataSourceType in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the dataSourceType field is set.
    • getDataSourceType

      public DataSourceType getDataSourceType()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSourceType in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The dataSourceType.
    • getDataSourceTypeOrBuilder

      public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSourceTypeOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasFilter

      public boolean hasFilter()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFilter in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public DiscoveryOtherCloudFilter getFilter()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The filter.
    • getFilterOrBuilder

      public DiscoveryOtherCloudFilterOrBuilder getFilterOrBuilder()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasConditions

      public boolean hasConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConditions in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the conditions field is set.
    • getConditions

      public DiscoveryOtherCloudConditions getConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConditions in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The conditions.
    • getConditionsOrBuilder

      public DiscoveryOtherCloudConditionsOrBuilder getConditionsOrBuilder()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConditionsOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasGenerationCadence

      public boolean hasGenerationCadence()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
      Specified by:
      hasGenerationCadence in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the generationCadence field is set.
    • getGenerationCadence

      public DiscoveryOtherCloudGenerationCadence getGenerationCadence()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
      Specified by:
      getGenerationCadence in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The generationCadence.
    • getGenerationCadenceOrBuilder

      public DiscoveryOtherCloudGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
      Specified by:
      getGenerationCadenceOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasDisabled

      public boolean hasDisabled()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
      Specified by:
      hasDisabled in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the disabled field is set.
    • getDisabled

      public Disabled getDisabled()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
      Specified by:
      getDisabled in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The disabled.
    • getDisabledOrBuilder

      public DisabledOrBuilder getDisabledOrBuilder()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
      Specified by:
      getDisabledOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • 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 OtherCloudDiscoveryTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static OtherCloudDiscoveryTarget.Builder newBuilder()
    • newBuilder

      public static OtherCloudDiscoveryTarget.Builder newBuilder(OtherCloudDiscoveryTarget prototype)
    • toBuilder

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

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

      public static OtherCloudDiscoveryTarget getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<OtherCloudDiscoveryTarget> 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 OtherCloudDiscoveryTarget getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder