public final class BigQueryOptions extends com.google.protobuf.GeneratedMessageV3 implements BigQueryOptionsOrBuilder
Options defining BigQuery table and row identifiers.Protobuf type
google.privacy.dlp.v2.BigQueryOptions| Modifier and Type | Class and 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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and 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 |
| Modifier and Type | Method and 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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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(ByteBuffer data) |
static BigQueryOptions |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<BigQueryOptions> |
parser() |
BigQueryOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TABLE_REFERENCE_FIELD_NUMBER
public static final int IDENTIFYING_FIELDS_FIELD_NUMBER
public static final int ROWS_LIMIT_FIELD_NUMBER
public static final int ROWS_LIMIT_PERCENT_FIELD_NUMBER
public static final int SAMPLE_METHOD_FIELD_NUMBER
public static final int EXCLUDED_FIELDS_FIELD_NUMBER
public static final int INCLUDED_FIELDS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasTableReference()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;hasTableReference in interface BigQueryOptionsOrBuilderpublic BigQueryTable getTableReference()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;getTableReference in interface BigQueryOptionsOrBuilderpublic BigQueryTableOrBuilder getTableReferenceOrBuilder()
Complete BigQuery table reference.
.google.privacy.dlp.v2.BigQueryTable table_reference = 1;getTableReferenceOrBuilder in interface BigQueryOptionsOrBuilderpublic 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;getIdentifyingFieldsList in interface BigQueryOptionsOrBuilderpublic 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;getIdentifyingFieldsOrBuilderList in interface BigQueryOptionsOrBuilderpublic 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;getIdentifyingFieldsCount in interface BigQueryOptionsOrBuilderpublic 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;getIdentifyingFields in interface BigQueryOptionsOrBuilderpublic 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;getIdentifyingFieldsOrBuilder in interface BigQueryOptionsOrBuilderpublic 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;getRowsLimit in interface BigQueryOptionsOrBuilderpublic 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;getRowsLimitPercent in interface BigQueryOptionsOrBuilderpublic int getSampleMethodValue()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;getSampleMethodValue in interface BigQueryOptionsOrBuilderpublic BigQueryOptions.SampleMethod getSampleMethod()
.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;getSampleMethod in interface BigQueryOptionsOrBuilderpublic 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;getExcludedFieldsList in interface BigQueryOptionsOrBuilderpublic 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;getExcludedFieldsOrBuilderList in interface BigQueryOptionsOrBuilderpublic 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;getExcludedFieldsCount in interface BigQueryOptionsOrBuilderpublic 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;getExcludedFields in interface BigQueryOptionsOrBuilderpublic 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;getExcludedFieldsOrBuilder in interface BigQueryOptionsOrBuilderpublic List<FieldId> getIncludedFieldsList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;getIncludedFieldsList in interface BigQueryOptionsOrBuilderpublic List<? extends FieldIdOrBuilder> getIncludedFieldsOrBuilderList()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;getIncludedFieldsOrBuilderList in interface BigQueryOptionsOrBuilderpublic int getIncludedFieldsCount()
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;getIncludedFieldsCount in interface BigQueryOptionsOrBuilderpublic FieldId getIncludedFields(int index)
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;getIncludedFields in interface BigQueryOptionsOrBuilderpublic FieldIdOrBuilder getIncludedFieldsOrBuilder(int index)
Limit scanning only to these fields.
repeated .google.privacy.dlp.v2.FieldId included_fields = 7;getIncludedFieldsOrBuilder in interface BigQueryOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BigQueryOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BigQueryOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BigQueryOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BigQueryOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BigQueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BigQueryOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BigQueryOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static BigQueryOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BigQueryOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BigQueryOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BigQueryOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BigQueryOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BigQueryOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BigQueryOptions.Builder newBuilder()
public static BigQueryOptions.Builder newBuilder(BigQueryOptions prototype)
public BigQueryOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BigQueryOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BigQueryOptions getDefaultInstance()
public static com.google.protobuf.Parser<BigQueryOptions> parser()
public com.google.protobuf.Parser<BigQueryOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BigQueryOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.