Package com.google.privacy.dlp.v2
Class BigQueryOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class BigQueryOptions extends com.google.protobuf.GeneratedMessageV3 implements BigQueryOptionsOrBuilder
Options defining BigQuery table and row identifiers.
Protobuf typegoogle.privacy.dlp.v2.BigQueryOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBigQueryOptions.BuilderOptions defining BigQuery table and row identifiers.static classBigQueryOptions.SampleMethodHow to sample rows if not all rows are scanned.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intEXCLUDED_FIELDS_FIELD_NUMBERstatic intIDENTIFYING_FIELDS_FIELD_NUMBERstatic intINCLUDED_FIELDS_FIELD_NUMBERstatic intROWS_LIMIT_FIELD_NUMBERstatic intROWS_LIMIT_PERCENT_FIELD_NUMBERstatic intSAMPLE_METHOD_FIELD_NUMBERstatic intTABLE_REFERENCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static BigQueryOptionsgetDefaultInstance()BigQueryOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()FieldIdgetExcludedFields(int index)References to fields excluded from scanning.intgetExcludedFieldsCount()References to fields excluded from scanning.List<FieldId>getExcludedFieldsList()References to fields excluded from scanning.FieldIdOrBuildergetExcludedFieldsOrBuilder(int index)References to fields excluded from scanning.List<? extends FieldIdOrBuilder>getExcludedFieldsOrBuilderList()References to fields excluded from scanning.FieldIdgetIdentifyingFields(int index)Table fields that may uniquely identify a row within the table.intgetIdentifyingFieldsCount()Table fields that may uniquely identify a row within the table.List<FieldId>getIdentifyingFieldsList()Table fields that may uniquely identify a row within the table.FieldIdOrBuildergetIdentifyingFieldsOrBuilder(int index)Table fields that may uniquely identify a row within the table.List<? extends FieldIdOrBuilder>getIdentifyingFieldsOrBuilderList()Table fields that may uniquely identify a row within the table.FieldIdgetIncludedFields(int index)Limit scanning only to these fields.intgetIncludedFieldsCount()Limit scanning only to these fields.List<FieldId>getIncludedFieldsList()Limit scanning only to these fields.FieldIdOrBuildergetIncludedFieldsOrBuilder(int index)Limit scanning only to these fields.List<? extends FieldIdOrBuilder>getIncludedFieldsOrBuilderList()Limit scanning only to these fields.com.google.protobuf.Parser<BigQueryOptions>getParserForType()longgetRowsLimit()Max number of rows to scan.intgetRowsLimitPercent()Max percentage of rows to scan.BigQueryOptions.SampleMethodgetSampleMethod().google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;intgetSampleMethodValue().google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;intgetSerializedSize()BigQueryTablegetTableReference()Complete BigQuery table reference.BigQueryTableOrBuildergetTableReferenceOrBuilder()Complete BigQuery table reference.inthashCode()booleanhasTableReference()Complete BigQuery table reference.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static BigQueryOptions.BuildernewBuilder()static BigQueryOptions.BuildernewBuilder(BigQueryOptions prototype)BigQueryOptions.BuildernewBuilderForType()protected BigQueryOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()BigQueryOptions.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TABLE_REFERENCE_FIELD_NUMBER
public static final int TABLE_REFERENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDENTIFYING_FIELDS_FIELD_NUMBER
public static final int IDENTIFYING_FIELDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROWS_LIMIT_FIELD_NUMBER
public static final int ROWS_LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROWS_LIMIT_PERCENT_FIELD_NUMBER
public static final int ROWS_LIMIT_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLE_METHOD_FIELD_NUMBER
public static final int SAMPLE_METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXCLUDED_FIELDS_FIELD_NUMBER
public static final int EXCLUDED_FIELDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUDED_FIELDS_FIELD_NUMBER
public static final int INCLUDED_FIELDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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
public BigQueryTable getTableReference()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;- Specified by:
getTableReferencein interfaceBigQueryOptionsOrBuilder- Returns:
- The tableReference.
-
getTableReferenceOrBuilder
public BigQueryTableOrBuilder getTableReferenceOrBuilder()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;- Specified by:
getTableReferenceOrBuilderin interfaceBigQueryOptionsOrBuilder
-
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;- Specified by:
getIdentifyingFieldsListin interfaceBigQueryOptionsOrBuilder
-
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;- 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
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;- Specified by:
getIdentifyingFieldsin interfaceBigQueryOptionsOrBuilder
-
getIdentifyingFieldsOrBuilder
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;- 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.
int32 rows_limit_percent = 6;- Specified by:
getRowsLimitPercentin interfaceBigQueryOptionsOrBuilder- Returns:
- The rowsLimitPercent.
-
getSampleMethodValue
public int getSampleMethodValue()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;- Specified by:
getSampleMethodValuein interfaceBigQueryOptionsOrBuilder- Returns:
- The enum numeric value on the wire for sampleMethod.
-
getSampleMethod
public BigQueryOptions.SampleMethod getSampleMethod()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;- Specified by:
getSampleMethodin interfaceBigQueryOptionsOrBuilder- Returns:
- The sampleMethod.
-
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;- Specified by:
getExcludedFieldsListin interfaceBigQueryOptionsOrBuilder
-
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;- 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.
repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;- Specified by:
getExcludedFieldsCountin interfaceBigQueryOptionsOrBuilder
-
getExcludedFields
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;- Specified by:
getExcludedFieldsin interfaceBigQueryOptionsOrBuilder
-
getExcludedFieldsOrBuilder
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;- Specified by:
getExcludedFieldsOrBuilderin interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsList
public List<FieldId> getIncludedFieldsList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;- Specified by:
getIncludedFieldsListin interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsOrBuilderList
public List<? extends FieldIdOrBuilder> getIncludedFieldsOrBuilderList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;- Specified by:
getIncludedFieldsOrBuilderListin interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsCount
public int getIncludedFieldsCount()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;- Specified by:
getIncludedFieldsCountin interfaceBigQueryOptionsOrBuilder
-
getIncludedFields
public FieldId getIncludedFields(int index)
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;- Specified by:
getIncludedFieldsin interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsOrBuilder
public FieldIdOrBuilder getIncludedFieldsOrBuilder(int index)
Limit scanning only to these fields.
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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static BigQueryOptions parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BigQueryOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BigQueryOptions parseDelimitedFrom(InputStream input) throws IOException
- 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
public BigQueryOptions.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BigQueryOptions.Builder newBuilder()
-
newBuilder
public static BigQueryOptions.Builder newBuilder(BigQueryOptions prototype)
-
toBuilder
public BigQueryOptions.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BigQueryOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BigQueryOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BigQueryOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<BigQueryOptions> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BigQueryOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-