Class DiscoveryTarget

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

@Generated public final class DiscoveryTarget extends com.google.protobuf.GeneratedMessage implements DiscoveryTargetOrBuilder
 Target used to match against for Discovery.
 
Protobuf type google.privacy.dlp.v2.DiscoveryTarget
See Also:
  • Field Details

    • BIG_QUERY_TARGET_FIELD_NUMBER

      public static final int BIG_QUERY_TARGET_FIELD_NUMBER
      See Also:
    • CLOUD_SQL_TARGET_FIELD_NUMBER

      public static final int CLOUD_SQL_TARGET_FIELD_NUMBER
      See Also:
    • SECRETS_TARGET_FIELD_NUMBER

      public static final int SECRETS_TARGET_FIELD_NUMBER
      See Also:
    • CLOUD_STORAGE_TARGET_FIELD_NUMBER

      public static final int CLOUD_STORAGE_TARGET_FIELD_NUMBER
      See Also:
    • OTHER_CLOUD_TARGET_FIELD_NUMBER

      public static final int OTHER_CLOUD_TARGET_FIELD_NUMBER
      See Also:
    • VERTEX_DATASET_TARGET_FIELD_NUMBER

      public static final int VERTEX_DATASET_TARGET_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
    • getTargetCase

      public DiscoveryTarget.TargetCase getTargetCase()
      Specified by:
      getTargetCase in interface DiscoveryTargetOrBuilder
    • hasBigQueryTarget

      public boolean hasBigQueryTarget()
       BigQuery target for Discovery. The first target to match a table will be
       the one applied.
       
      .google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;
      Specified by:
      hasBigQueryTarget in interface DiscoveryTargetOrBuilder
      Returns:
      Whether the bigQueryTarget field is set.
    • getBigQueryTarget

      public BigQueryDiscoveryTarget getBigQueryTarget()
       BigQuery target for Discovery. The first target to match a table will be
       the one applied.
       
      .google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;
      Specified by:
      getBigQueryTarget in interface DiscoveryTargetOrBuilder
      Returns:
      The bigQueryTarget.
    • getBigQueryTargetOrBuilder

      public BigQueryDiscoveryTargetOrBuilder getBigQueryTargetOrBuilder()
       BigQuery target for Discovery. The first target to match a table will be
       the one applied.
       
      .google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;
      Specified by:
      getBigQueryTargetOrBuilder in interface DiscoveryTargetOrBuilder
    • hasCloudSqlTarget

      public boolean hasCloudSqlTarget()
       Cloud SQL target for Discovery. The first target to match a table will be
       the one applied.
       
      .google.privacy.dlp.v2.CloudSqlDiscoveryTarget cloud_sql_target = 2;
      Specified by:
      hasCloudSqlTarget in interface DiscoveryTargetOrBuilder
      Returns:
      Whether the cloudSqlTarget field is set.
    • getCloudSqlTarget

      public CloudSqlDiscoveryTarget getCloudSqlTarget()
       Cloud SQL target for Discovery. The first target to match a table will be
       the one applied.
       
      .google.privacy.dlp.v2.CloudSqlDiscoveryTarget cloud_sql_target = 2;
      Specified by:
      getCloudSqlTarget in interface DiscoveryTargetOrBuilder
      Returns:
      The cloudSqlTarget.
    • getCloudSqlTargetOrBuilder

      public CloudSqlDiscoveryTargetOrBuilder getCloudSqlTargetOrBuilder()
       Cloud SQL target for Discovery. The first target to match a table will be
       the one applied.
       
      .google.privacy.dlp.v2.CloudSqlDiscoveryTarget cloud_sql_target = 2;
      Specified by:
      getCloudSqlTargetOrBuilder in interface DiscoveryTargetOrBuilder
    • hasSecretsTarget

      public boolean hasSecretsTarget()
       Discovery target that looks for credentials and secrets stored in cloud
       resource metadata and reports them as vulnerabilities to Security Command
       Center. Only one target of this type is allowed.
       
      .google.privacy.dlp.v2.SecretsDiscoveryTarget secrets_target = 3;
      Specified by:
      hasSecretsTarget in interface DiscoveryTargetOrBuilder
      Returns:
      Whether the secretsTarget field is set.
    • getSecretsTarget

      public SecretsDiscoveryTarget getSecretsTarget()
       Discovery target that looks for credentials and secrets stored in cloud
       resource metadata and reports them as vulnerabilities to Security Command
       Center. Only one target of this type is allowed.
       
      .google.privacy.dlp.v2.SecretsDiscoveryTarget secrets_target = 3;
      Specified by:
      getSecretsTarget in interface DiscoveryTargetOrBuilder
      Returns:
      The secretsTarget.
    • getSecretsTargetOrBuilder

      public SecretsDiscoveryTargetOrBuilder getSecretsTargetOrBuilder()
       Discovery target that looks for credentials and secrets stored in cloud
       resource metadata and reports them as vulnerabilities to Security Command
       Center. Only one target of this type is allowed.
       
      .google.privacy.dlp.v2.SecretsDiscoveryTarget secrets_target = 3;
      Specified by:
      getSecretsTargetOrBuilder in interface DiscoveryTargetOrBuilder
    • hasCloudStorageTarget

      public boolean hasCloudStorageTarget()
       Cloud Storage target for Discovery. The first target to match a table
       will be the one applied.
       
      .google.privacy.dlp.v2.CloudStorageDiscoveryTarget cloud_storage_target = 4;
      Specified by:
      hasCloudStorageTarget in interface DiscoveryTargetOrBuilder
      Returns:
      Whether the cloudStorageTarget field is set.
    • getCloudStorageTarget

      public CloudStorageDiscoveryTarget getCloudStorageTarget()
       Cloud Storage target for Discovery. The first target to match a table
       will be the one applied.
       
      .google.privacy.dlp.v2.CloudStorageDiscoveryTarget cloud_storage_target = 4;
      Specified by:
      getCloudStorageTarget in interface DiscoveryTargetOrBuilder
      Returns:
      The cloudStorageTarget.
    • getCloudStorageTargetOrBuilder

      public CloudStorageDiscoveryTargetOrBuilder getCloudStorageTargetOrBuilder()
       Cloud Storage target for Discovery. The first target to match a table
       will be the one applied.
       
      .google.privacy.dlp.v2.CloudStorageDiscoveryTarget cloud_storage_target = 4;
      Specified by:
      getCloudStorageTargetOrBuilder in interface DiscoveryTargetOrBuilder
    • hasOtherCloudTarget

      public boolean hasOtherCloudTarget()
       Other clouds target for discovery. The first target to match a resource
       will be the one applied.
       
      .google.privacy.dlp.v2.OtherCloudDiscoveryTarget other_cloud_target = 5;
      Specified by:
      hasOtherCloudTarget in interface DiscoveryTargetOrBuilder
      Returns:
      Whether the otherCloudTarget field is set.
    • getOtherCloudTarget

      public OtherCloudDiscoveryTarget getOtherCloudTarget()
       Other clouds target for discovery. The first target to match a resource
       will be the one applied.
       
      .google.privacy.dlp.v2.OtherCloudDiscoveryTarget other_cloud_target = 5;
      Specified by:
      getOtherCloudTarget in interface DiscoveryTargetOrBuilder
      Returns:
      The otherCloudTarget.
    • getOtherCloudTargetOrBuilder

      public OtherCloudDiscoveryTargetOrBuilder getOtherCloudTargetOrBuilder()
       Other clouds target for discovery. The first target to match a resource
       will be the one applied.
       
      .google.privacy.dlp.v2.OtherCloudDiscoveryTarget other_cloud_target = 5;
      Specified by:
      getOtherCloudTargetOrBuilder in interface DiscoveryTargetOrBuilder
    • hasVertexDatasetTarget

      public boolean hasVertexDatasetTarget()
       Vertex AI dataset target for Discovery. The first target to match a
       dataset will be the one applied. Note that discovery for Vertex AI can
       incur Cloud Storage Class B operation charges for storage.objects.get
       operations and retrieval fees. For more information, see [Cloud Storage
       pricing](https://cloud.google.com/storage/pricing#price-tables).
       Note that discovery for Vertex AI dataset will not be able to scan images
       unless DiscoveryConfig.processing_location.image_fallback_location has
       multi_region_processing or global_processing configured.
       
      .google.privacy.dlp.v2.VertexDatasetDiscoveryTarget vertex_dataset_target = 7;
      Specified by:
      hasVertexDatasetTarget in interface DiscoveryTargetOrBuilder
      Returns:
      Whether the vertexDatasetTarget field is set.
    • getVertexDatasetTarget

      public VertexDatasetDiscoveryTarget getVertexDatasetTarget()
       Vertex AI dataset target for Discovery. The first target to match a
       dataset will be the one applied. Note that discovery for Vertex AI can
       incur Cloud Storage Class B operation charges for storage.objects.get
       operations and retrieval fees. For more information, see [Cloud Storage
       pricing](https://cloud.google.com/storage/pricing#price-tables).
       Note that discovery for Vertex AI dataset will not be able to scan images
       unless DiscoveryConfig.processing_location.image_fallback_location has
       multi_region_processing or global_processing configured.
       
      .google.privacy.dlp.v2.VertexDatasetDiscoveryTarget vertex_dataset_target = 7;
      Specified by:
      getVertexDatasetTarget in interface DiscoveryTargetOrBuilder
      Returns:
      The vertexDatasetTarget.
    • getVertexDatasetTargetOrBuilder

      public VertexDatasetDiscoveryTargetOrBuilder getVertexDatasetTargetOrBuilder()
       Vertex AI dataset target for Discovery. The first target to match a
       dataset will be the one applied. Note that discovery for Vertex AI can
       incur Cloud Storage Class B operation charges for storage.objects.get
       operations and retrieval fees. For more information, see [Cloud Storage
       pricing](https://cloud.google.com/storage/pricing#price-tables).
       Note that discovery for Vertex AI dataset will not be able to scan images
       unless DiscoveryConfig.processing_location.image_fallback_location has
       multi_region_processing or global_processing configured.
       
      .google.privacy.dlp.v2.VertexDatasetDiscoveryTarget vertex_dataset_target = 7;
      Specified by:
      getVertexDatasetTargetOrBuilder in interface DiscoveryTargetOrBuilder
    • 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 DiscoveryTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DiscoveryTarget.Builder newBuilder()
    • newBuilder

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

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

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

      public static DiscoveryTarget getDefaultInstance()
    • parser

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

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