Interface BigQueryOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BigQueryOptions, BigQueryOptions.Builder

@Generated public interface BigQueryOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTableReference

      boolean hasTableReference()
       Complete BigQuery table reference.
       
      .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
      Returns:
      Whether the tableReference field is set.
    • getTableReference

      BigQueryTable getTableReference()
       Complete BigQuery table reference.
       
      .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
      Returns:
      The tableReference.
    • getTableReferenceOrBuilder

      BigQueryTableOrBuilder getTableReferenceOrBuilder()
       Complete BigQuery table reference.
       
      .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
    • getIdentifyingFieldsList

      List<FieldId> getIdentifyingFieldsList()
       Table fields that may uniquely identify a row within the table. When
       `actions.saveFindings.outputConfig.table` is specified, the values of
       columns specified here are available in the output table under
       `location.content_locations.record_location.record_key.id_values`. Nested
       fields such as `person.birthdate.year` are allowed.
       
      repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    • getIdentifyingFields

      FieldId getIdentifyingFields(int index)
       Table fields that may uniquely identify a row within the table. When
       `actions.saveFindings.outputConfig.table` is specified, the values of
       columns specified here are available in the output table under
       `location.content_locations.record_location.record_key.id_values`. Nested
       fields such as `person.birthdate.year` are allowed.
       
      repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    • getIdentifyingFieldsCount

      int getIdentifyingFieldsCount()
       Table fields that may uniquely identify a row within the table. When
       `actions.saveFindings.outputConfig.table` is specified, the values of
       columns specified here are available in the output table under
       `location.content_locations.record_location.record_key.id_values`. Nested
       fields such as `person.birthdate.year` are allowed.
       
      repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    • getIdentifyingFieldsOrBuilderList

      List<? extends FieldIdOrBuilder> getIdentifyingFieldsOrBuilderList()
       Table fields that may uniquely identify a row within the table. When
       `actions.saveFindings.outputConfig.table` is specified, the values of
       columns specified here are available in the output table under
       `location.content_locations.record_location.record_key.id_values`. Nested
       fields such as `person.birthdate.year` are allowed.
       
      repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    • getIdentifyingFieldsOrBuilder

      FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index)
       Table fields that may uniquely identify a row within the table. When
       `actions.saveFindings.outputConfig.table` is specified, the values of
       columns specified here are available in the output table under
       `location.content_locations.record_location.record_key.id_values`. Nested
       fields such as `person.birthdate.year` are allowed.
       
      repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    • getRowsLimit

      long getRowsLimit()
       Max number of rows to scan. If the table has more rows than this value, the
       rest of the rows are omitted. If not set, or if set to 0, all rows will be
       scanned. Only one of rows_limit and rows_limit_percent can be specified.
       Cannot be used in conjunction with TimespanConfig.
       
      int64 rows_limit = 3;
      Returns:
      The rowsLimit.
    • getRowsLimitPercent

      int getRowsLimitPercent()
       Max percentage of rows to scan. The rest are omitted. The number of rows
       scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
       100 means no limit. Defaults to 0. Only one of rows_limit and
       rows_limit_percent can be specified. Cannot be used in conjunction with
       TimespanConfig.
      
       Caution: A [known
       issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling)
       is causing the `rowsLimitPercent` field to behave unexpectedly. We
       recommend using `rowsLimit` instead.
       
      int32 rows_limit_percent = 6;
      Returns:
      The rowsLimitPercent.
    • getSampleMethodValue

      int getSampleMethodValue()
       How to sample the data.
       
      .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
      Returns:
      The enum numeric value on the wire for sampleMethod.
    • getSampleMethod

      BigQueryOptions.SampleMethod getSampleMethod()
       How to sample the data.
       
      .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
      Returns:
      The sampleMethod.
    • getExcludedFieldsList

      List<FieldId> getExcludedFieldsList()
       References to fields excluded from scanning. This allows you to skip
       inspection of entire columns which you know have no findings.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    • getExcludedFields

      FieldId getExcludedFields(int index)
       References to fields excluded from scanning. This allows you to skip
       inspection of entire columns which you know have no findings.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    • getExcludedFieldsCount

      int getExcludedFieldsCount()
       References to fields excluded from scanning. This allows you to skip
       inspection of entire columns which you know have no findings.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    • getExcludedFieldsOrBuilderList

      List<? extends FieldIdOrBuilder> getExcludedFieldsOrBuilderList()
       References to fields excluded from scanning. This allows you to skip
       inspection of entire columns which you know have no findings.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    • getExcludedFieldsOrBuilder

      FieldIdOrBuilder getExcludedFieldsOrBuilder(int index)
       References to fields excluded from scanning. This allows you to skip
       inspection of entire columns which you know have no findings.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    • getIncludedFieldsList

      List<FieldId> getIncludedFieldsList()
       Limit scanning only to these fields.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
    • getIncludedFields

      FieldId getIncludedFields(int index)
       Limit scanning only to these fields.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
    • getIncludedFieldsCount

      int getIncludedFieldsCount()
       Limit scanning only to these fields.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
    • getIncludedFieldsOrBuilderList

      List<? extends FieldIdOrBuilder> getIncludedFieldsOrBuilderList()
       Limit scanning only to these fields.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
    • getIncludedFieldsOrBuilder

      FieldIdOrBuilder getIncludedFieldsOrBuilder(int index)
       Limit scanning only to these fields.
       When inspecting a table, we recommend that you inspect all columns.
       Otherwise, findings might be affected because hints from excluded columns
       will not be used.
       
      repeated .google.privacy.dlp.v2.FieldId included_fields = 7;