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 class
BigQueryOptions.Builder
Options defining BigQuery table and row identifiers.static class
BigQueryOptions.SampleMethod
How 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 int
EXCLUDED_FIELDS_FIELD_NUMBER
static int
IDENTIFYING_FIELDS_FIELD_NUMBER
static int
INCLUDED_FIELDS_FIELD_NUMBER
static int
ROWS_LIMIT_FIELD_NUMBER
static int
ROWS_LIMIT_PERCENT_FIELD_NUMBER
static int
SAMPLE_METHOD_FIELD_NUMBER
static int
TABLE_REFERENCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static BigQueryOptions
getDefaultInstance()
BigQueryOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
FieldId
getExcludedFields(int index)
References to fields excluded from scanning.int
getExcludedFieldsCount()
References to fields excluded from scanning.List<FieldId>
getExcludedFieldsList()
References to fields excluded from scanning.FieldIdOrBuilder
getExcludedFieldsOrBuilder(int index)
References to fields excluded from scanning.List<? extends FieldIdOrBuilder>
getExcludedFieldsOrBuilderList()
References to fields excluded from scanning.FieldId
getIdentifyingFields(int index)
Table fields that may uniquely identify a row within the table.int
getIdentifyingFieldsCount()
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.FieldIdOrBuilder
getIdentifyingFieldsOrBuilder(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.FieldId
getIncludedFields(int index)
Limit scanning only to these fields.int
getIncludedFieldsCount()
Limit scanning only to these fields.List<FieldId>
getIncludedFieldsList()
Limit scanning only to these fields.FieldIdOrBuilder
getIncludedFieldsOrBuilder(int index)
Limit scanning only to these fields.List<? extends FieldIdOrBuilder>
getIncludedFieldsOrBuilderList()
Limit scanning only to these fields.com.google.protobuf.Parser<BigQueryOptions>
getParserForType()
long
getRowsLimit()
Max number of rows to scan.int
getRowsLimitPercent()
Max percentage of rows to scan.BigQueryOptions.SampleMethod
getSampleMethod()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
int
getSampleMethodValue()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
int
getSerializedSize()
BigQueryTable
getTableReference()
Complete BigQuery table reference.BigQueryTableOrBuilder
getTableReferenceOrBuilder()
Complete BigQuery table reference.int
hashCode()
boolean
hasTableReference()
Complete BigQuery table reference.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static BigQueryOptions.Builder
newBuilder()
static BigQueryOptions.Builder
newBuilder(BigQueryOptions prototype)
BigQueryOptions.Builder
newBuilderForType()
protected BigQueryOptions.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static BigQueryOptions
parseDelimitedFrom(InputStream input)
static BigQueryOptions
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryOptions
parseFrom(byte[] data)
static BigQueryOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryOptions
parseFrom(com.google.protobuf.ByteString data)
static BigQueryOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static BigQueryOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryOptions
parseFrom(InputStream input)
static BigQueryOptions
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryOptions
parseFrom(ByteBuffer data)
static BigQueryOptions
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<BigQueryOptions>
parser()
BigQueryOptions.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasTableReference
public boolean hasTableReference()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;
- Specified by:
hasTableReference
in 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:
getTableReference
in interfaceBigQueryOptionsOrBuilder
- Returns:
- The tableReference.
-
getTableReferenceOrBuilder
public BigQueryTableOrBuilder getTableReferenceOrBuilder()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;
- Specified by:
getTableReferenceOrBuilder
in 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:
getIdentifyingFieldsList
in 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:
getIdentifyingFieldsOrBuilderList
in 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:
getIdentifyingFieldsCount
in 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:
getIdentifyingFields
in 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:
getIdentifyingFieldsOrBuilder
in 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:
getRowsLimit
in 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:
getRowsLimitPercent
in interfaceBigQueryOptionsOrBuilder
- Returns:
- The rowsLimitPercent.
-
getSampleMethodValue
public int getSampleMethodValue()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
- Specified by:
getSampleMethodValue
in 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:
getSampleMethod
in 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:
getExcludedFieldsList
in 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:
getExcludedFieldsOrBuilderList
in 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:
getExcludedFieldsCount
in 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:
getExcludedFields
in 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:
getExcludedFieldsOrBuilder
in interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsList
public List<FieldId> getIncludedFieldsList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
- Specified by:
getIncludedFieldsList
in interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsOrBuilderList
public List<? extends FieldIdOrBuilder> getIncludedFieldsOrBuilderList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
- Specified by:
getIncludedFieldsOrBuilderList
in interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsCount
public int getIncludedFieldsCount()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
- Specified by:
getIncludedFieldsCount
in interfaceBigQueryOptionsOrBuilder
-
getIncludedFields
public FieldId getIncludedFields(int index)
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
- Specified by:
getIncludedFields
in interfaceBigQueryOptionsOrBuilder
-
getIncludedFieldsOrBuilder
public FieldIdOrBuilder getIncludedFieldsOrBuilder(int index)
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;
- Specified by:
getIncludedFieldsOrBuilder
in interfaceBigQueryOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BigQueryOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BigQueryOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-