public final class BigQueryOptions extends GeneratedMessageV3 implements BigQueryOptionsOrBuilder
Options defining BigQuery table and row identifiers.
Protobuf type google.privacy.dlp.v2.BigQueryOptions
Static Fields
EXCLUDED_FIELDS_FIELD_NUMBER
public static final int EXCLUDED_FIELDS_FIELD_NUMBER
Field Value
IDENTIFYING_FIELDS_FIELD_NUMBER
public static final int IDENTIFYING_FIELDS_FIELD_NUMBER
Field Value
INCLUDED_FIELDS_FIELD_NUMBER
public static final int INCLUDED_FIELDS_FIELD_NUMBER
Field Value
ROWS_LIMIT_FIELD_NUMBER
public static final int ROWS_LIMIT_FIELD_NUMBER
Field Value
ROWS_LIMIT_PERCENT_FIELD_NUMBER
public static final int ROWS_LIMIT_PERCENT_FIELD_NUMBER
Field Value
SAMPLE_METHOD_FIELD_NUMBER
public static final int SAMPLE_METHOD_FIELD_NUMBER
Field Value
TABLE_REFERENCE_FIELD_NUMBER
public static final int TABLE_REFERENCE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BigQueryOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BigQueryOptions.Builder newBuilder()
Returns
newBuilder(BigQueryOptions prototype)
public static BigQueryOptions.Builder newBuilder(BigQueryOptions prototype)
Parameter
Returns
public static BigQueryOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BigQueryOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BigQueryOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BigQueryOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BigQueryOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BigQueryOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BigQueryOptions getDefaultInstanceForType()
Returns
getExcludedFields(int index)
public 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.
repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
Parameter
Returns
getExcludedFieldsCount()
public int getExcludedFieldsCount()
References to fields excluded from scanning. This allows you to skip
inspection of entire columns which you know have no findings.
repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
Returns
getExcludedFieldsList()
public List<FieldId> getExcludedFieldsList()
References to fields excluded from scanning. This allows you to skip
inspection of entire columns which you know have no findings.
repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
Returns
getExcludedFieldsOrBuilder(int index)
public 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.
repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
Parameter
Returns
getExcludedFieldsOrBuilderList()
public 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.
repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> | |
getIdentifyingFields(int index)
public 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;
Parameter
Returns
getIdentifyingFieldsCount()
public 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;
Returns
getIdentifyingFieldsList()
public 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;
Returns
getIdentifyingFieldsOrBuilder(int index)
public 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;
Parameter
Returns
getIdentifyingFieldsOrBuilderList()
public 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;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> | |
getIncludedFields(int index)
public FieldId getIncludedFields(int index)
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
Parameter
Returns
getIncludedFieldsCount()
public int getIncludedFieldsCount()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
Returns
getIncludedFieldsList()
public List<FieldId> getIncludedFieldsList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
Returns
getIncludedFieldsOrBuilder(int index)
public FieldIdOrBuilder getIncludedFieldsOrBuilder(int index)
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
Parameter
Returns
getIncludedFieldsOrBuilderList()
public List<? extends FieldIdOrBuilder> getIncludedFieldsOrBuilderList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> | |
getParserForType()
public Parser<BigQueryOptions> getParserForType()
Returns
Overrides
getRowsLimit()
public 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
Type | Description |
long | The rowsLimit.
|
getRowsLimitPercent()
public 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.
int32 rows_limit_percent = 6;
Returns
Type | Description |
int | The rowsLimitPercent.
|
getSampleMethod()
public BigQueryOptions.SampleMethod getSampleMethod()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
Returns
getSampleMethodValue()
public int getSampleMethodValue()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
Returns
Type | Description |
int | The enum numeric value on the wire for sampleMethod.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTableReference()
public BigQueryTable getTableReference()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;
Returns
getTableReferenceOrBuilder()
public BigQueryTableOrBuilder getTableReferenceOrBuilder()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasTableReference()
public boolean hasTableReference()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;
Returns
Type | Description |
boolean | Whether the tableReference field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BigQueryOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BigQueryOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions