Package com.google.privacy.dlp.v2
Class BigQueryOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.BigQueryOptions
- All Implemented Interfaces:
BigQueryOptionsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class BigQueryOptions
extends com.google.protobuf.GeneratedMessage
implements BigQueryOptionsOrBuilder
Options defining BigQuery table and row identifiers.Protobuf type
google.privacy.dlp.v2.BigQueryOptions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOptions defining BigQuery table and row identifiers.static enumHow to sample rows if not all rows are scanned.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic BigQueryOptionsstatic final com.google.protobuf.Descriptors.DescriptorgetExcludedFields(int index) References to fields excluded from scanning.intReferences to fields excluded from scanning.References to fields excluded from scanning.getExcludedFieldsOrBuilder(int index) References to fields excluded from scanning.List<? extends FieldIdOrBuilder>References to fields excluded from scanning.getIdentifyingFields(int index) Table fields that may uniquely identify a row within the table.intTable fields that may uniquely identify a row within the table.Table fields that may uniquely identify a row within the table.getIdentifyingFieldsOrBuilder(int index) Table fields that may uniquely identify a row within the table.List<? extends FieldIdOrBuilder>Table fields that may uniquely identify a row within the table.getIncludedFields(int index) Limit scanning only to these fields.intLimit scanning only to these fields.Limit scanning only to these fields.getIncludedFieldsOrBuilder(int index) Limit scanning only to these fields.List<? extends FieldIdOrBuilder>Limit scanning only to these fields.com.google.protobuf.Parser<BigQueryOptions>longMax number of rows to scan.intMax percentage of rows to scan.How to sample the data.intHow to sample the data.intComplete BigQuery table reference.Complete BigQuery table reference.inthashCode()booleanComplete BigQuery table reference.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic BigQueryOptions.Builderstatic BigQueryOptions.BuildernewBuilder(BigQueryOptions prototype) protected BigQueryOptions.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BigQueryOptionsparseDelimitedFrom(InputStream input) static BigQueryOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BigQueryOptionsparseFrom(byte[] data) static BigQueryOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BigQueryOptionsparseFrom(com.google.protobuf.ByteString data) static BigQueryOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BigQueryOptionsparseFrom(com.google.protobuf.CodedInputStream input) static BigQueryOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BigQueryOptionsparseFrom(InputStream input) static BigQueryOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BigQueryOptionsparseFrom(ByteBuffer data) static BigQueryOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BigQueryOptions>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TABLE_REFERENCE_FIELD_NUMBER
public static final int TABLE_REFERENCE_FIELD_NUMBER- See Also:
-
IDENTIFYING_FIELDS_FIELD_NUMBER
public static final int IDENTIFYING_FIELDS_FIELD_NUMBER- See Also:
-
ROWS_LIMIT_FIELD_NUMBER
public static final int ROWS_LIMIT_FIELD_NUMBER- See Also:
-
ROWS_LIMIT_PERCENT_FIELD_NUMBER
public static final int ROWS_LIMIT_PERCENT_FIELD_NUMBER- See Also:
-
SAMPLE_METHOD_FIELD_NUMBER
public static final int SAMPLE_METHOD_FIELD_NUMBER- See Also:
-
EXCLUDED_FIELDS_FIELD_NUMBER
public static final int EXCLUDED_FIELDS_FIELD_NUMBER- See Also:
-
INCLUDED_FIELDS_FIELD_NUMBER
public static final int INCLUDED_FIELDS_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasTableReference
public boolean hasTableReference()Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;- Specified by:
hasTableReferencein interfaceBigQueryOptionsOrBuilder- Returns:
- Whether the tableReference field is set.
-
getTableReference
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;- Specified by:
getTableReferencein interfaceBigQueryOptionsOrBuilder- Returns:
- The tableReference.
-
getTableReferenceOrBuilder
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;- Specified by:
getTableReferenceOrBuilderin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getIdentifyingFieldsListin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getIdentifyingFieldsOrBuilderListin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getIdentifyingFieldsCountin interfaceBigQueryOptionsOrBuilder
-
getIdentifyingFields
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;- Specified by:
getIdentifyingFieldsin interfaceBigQueryOptionsOrBuilder
-
getIdentifyingFieldsOrBuilder
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;- Specified by:
getIdentifyingFieldsOrBuilderin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getRowsLimitin interfaceBigQueryOptionsOrBuilder- Returns:
- 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. 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;- Specified by:
getRowsLimitPercentin interfaceBigQueryOptionsOrBuilder- Returns:
- The rowsLimitPercent.
-
getSampleMethodValue
public int getSampleMethodValue()How to sample the data.
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;- Specified by:
getSampleMethodValuein interfaceBigQueryOptionsOrBuilder- Returns:
- The enum numeric value on the wire for sampleMethod.
-
getSampleMethod
How to sample the data.
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;- Specified by:
getSampleMethodin interfaceBigQueryOptionsOrBuilder- Returns:
- The sampleMethod.
-
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;- Specified by:
getExcludedFieldsListin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getExcludedFieldsOrBuilderListin interfaceBigQueryOptionsOrBuilder
-
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. 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;- Specified by:
getExcludedFieldsCountin interfaceBigQueryOptionsOrBuilder
-
getExcludedFields
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;- Specified by:
getExcludedFieldsin interfaceBigQueryOptionsOrBuilder
-
getExcludedFieldsOrBuilder
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;- Specified by:
getExcludedFieldsOrBuilderin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getIncludedFieldsListin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getIncludedFieldsOrBuilderListin interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsCount
public 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;- Specified by:
getIncludedFieldsCountin interfaceBigQueryOptionsOrBuilder
-
getIncludedFields
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;- Specified by:
getIncludedFieldsin interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsOrBuilder
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;- Specified by:
getIncludedFieldsOrBuilderin interfaceBigQueryOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BigQueryOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BigQueryOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BigQueryOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BigQueryOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BigQueryOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BigQueryOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-