Class DataProfileAction.Export

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DataProfileAction.Export
All Implemented Interfaces:
DataProfileAction.ExportOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DataProfileAction

public static final class DataProfileAction.Export extends com.google.protobuf.GeneratedMessage implements DataProfileAction.ExportOrBuilder
 If set, the detailed data profiles will be persisted to the location
 of your choice whenever updated.
 
Protobuf type google.privacy.dlp.v2.DataProfileAction.Export
See Also:
  • Field Details

    • PROFILE_TABLE_FIELD_NUMBER

      public static final int PROFILE_TABLE_FIELD_NUMBER
      See Also:
    • SAMPLE_FINDINGS_TABLE_FIELD_NUMBER

      public static final int SAMPLE_FINDINGS_TABLE_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
    • hasProfileTable

      public boolean hasProfileTable()
       Store all profiles to BigQuery.
      
       * The system will create a new dataset and table for you if none are
       are provided. The dataset will be named
       `sensitive_data_protection_discovery` and table will be named
       `discovery_profiles`. This table will be placed in the same project as
       the container project running the scan. After the first profile is
       generated and the dataset and table are created, the discovery scan
       configuration will be updated with the dataset and table names.
       * See [Analyze data profiles stored in
       BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles).
       * See [Sample queries for your BigQuery
       table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries).
       *  Data is inserted using [streaming
       insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
       and so data may be in the buffer for a period of time after the
       profile has finished.
       * The Pub/Sub notification is sent before the streaming buffer is
       guaranteed to be written, so data may not be instantly
       visible to queries by the time your topic receives the Pub/Sub
       notification.
       * The best practice is to use the same table for an entire organization
       so that you can take advantage of the [provided Looker
       reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report).
       If you use VPC Service Controls to define security perimeters, then
       you must use a separate table for each boundary.
       
      .google.privacy.dlp.v2.BigQueryTable profile_table = 1;
      Specified by:
      hasProfileTable in interface DataProfileAction.ExportOrBuilder
      Returns:
      Whether the profileTable field is set.
    • getProfileTable

      public BigQueryTable getProfileTable()
       Store all profiles to BigQuery.
      
       * The system will create a new dataset and table for you if none are
       are provided. The dataset will be named
       `sensitive_data_protection_discovery` and table will be named
       `discovery_profiles`. This table will be placed in the same project as
       the container project running the scan. After the first profile is
       generated and the dataset and table are created, the discovery scan
       configuration will be updated with the dataset and table names.
       * See [Analyze data profiles stored in
       BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles).
       * See [Sample queries for your BigQuery
       table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries).
       *  Data is inserted using [streaming
       insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
       and so data may be in the buffer for a period of time after the
       profile has finished.
       * The Pub/Sub notification is sent before the streaming buffer is
       guaranteed to be written, so data may not be instantly
       visible to queries by the time your topic receives the Pub/Sub
       notification.
       * The best practice is to use the same table for an entire organization
       so that you can take advantage of the [provided Looker
       reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report).
       If you use VPC Service Controls to define security perimeters, then
       you must use a separate table for each boundary.
       
      .google.privacy.dlp.v2.BigQueryTable profile_table = 1;
      Specified by:
      getProfileTable in interface DataProfileAction.ExportOrBuilder
      Returns:
      The profileTable.
    • getProfileTableOrBuilder

      public BigQueryTableOrBuilder getProfileTableOrBuilder()
       Store all profiles to BigQuery.
      
       * The system will create a new dataset and table for you if none are
       are provided. The dataset will be named
       `sensitive_data_protection_discovery` and table will be named
       `discovery_profiles`. This table will be placed in the same project as
       the container project running the scan. After the first profile is
       generated and the dataset and table are created, the discovery scan
       configuration will be updated with the dataset and table names.
       * See [Analyze data profiles stored in
       BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles).
       * See [Sample queries for your BigQuery
       table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries).
       *  Data is inserted using [streaming
       insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
       and so data may be in the buffer for a period of time after the
       profile has finished.
       * The Pub/Sub notification is sent before the streaming buffer is
       guaranteed to be written, so data may not be instantly
       visible to queries by the time your topic receives the Pub/Sub
       notification.
       * The best practice is to use the same table for an entire organization
       so that you can take advantage of the [provided Looker
       reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report).
       If you use VPC Service Controls to define security perimeters, then
       you must use a separate table for each boundary.
       
      .google.privacy.dlp.v2.BigQueryTable profile_table = 1;
      Specified by:
      getProfileTableOrBuilder in interface DataProfileAction.ExportOrBuilder
    • hasSampleFindingsTable

      public boolean hasSampleFindingsTable()
       Store sample [data profile
       findings][google.privacy.dlp.v2.DataProfileFinding] in an existing table
       or a new table in an existing dataset. Each regeneration will result in
       new rows in BigQuery. Data is inserted using [streaming
       insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
       and so data may be in the buffer for a period of time after the profile
       has finished.
       
      .google.privacy.dlp.v2.BigQueryTable sample_findings_table = 2;
      Specified by:
      hasSampleFindingsTable in interface DataProfileAction.ExportOrBuilder
      Returns:
      Whether the sampleFindingsTable field is set.
    • getSampleFindingsTable

      public BigQueryTable getSampleFindingsTable()
       Store sample [data profile
       findings][google.privacy.dlp.v2.DataProfileFinding] in an existing table
       or a new table in an existing dataset. Each regeneration will result in
       new rows in BigQuery. Data is inserted using [streaming
       insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
       and so data may be in the buffer for a period of time after the profile
       has finished.
       
      .google.privacy.dlp.v2.BigQueryTable sample_findings_table = 2;
      Specified by:
      getSampleFindingsTable in interface DataProfileAction.ExportOrBuilder
      Returns:
      The sampleFindingsTable.
    • getSampleFindingsTableOrBuilder

      public BigQueryTableOrBuilder getSampleFindingsTableOrBuilder()
       Store sample [data profile
       findings][google.privacy.dlp.v2.DataProfileFinding] in an existing table
       or a new table in an existing dataset. Each regeneration will result in
       new rows in BigQuery. Data is inserted using [streaming
       insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
       and so data may be in the buffer for a period of time after the profile
       has finished.
       
      .google.privacy.dlp.v2.BigQueryTable sample_findings_table = 2;
      Specified by:
      getSampleFindingsTableOrBuilder in interface DataProfileAction.ExportOrBuilder
    • 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 DataProfileAction.Export parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static DataProfileAction.Export parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static DataProfileAction.Export parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static DataProfileAction.Export.Builder newBuilder()
    • newBuilder

      public static DataProfileAction.Export.Builder newBuilder(DataProfileAction.Export prototype)
    • toBuilder

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

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

      public static DataProfileAction.Export getDefaultInstance()
    • parser

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

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