Class BigQueryDiscoveryTarget (3.55.0)

public final class BigQueryDiscoveryTarget extends GeneratedMessageV3 implements BigQueryDiscoveryTargetOrBuilder

Target used to match against for discovery with BigQuery tables

Protobuf type google.privacy.dlp.v2.BigQueryDiscoveryTarget

Static Fields

CADENCE_FIELD_NUMBER

public static final int CADENCE_FIELD_NUMBER
Field Value
Type Description
int

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
Type Description
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigQueryDiscoveryTarget getDefaultInstance()
Returns
Type Description
BigQueryDiscoveryTarget

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BigQueryDiscoveryTarget.Builder newBuilder()
Returns
Type Description
BigQueryDiscoveryTarget.Builder

newBuilder(BigQueryDiscoveryTarget prototype)

public static BigQueryDiscoveryTarget.Builder newBuilder(BigQueryDiscoveryTarget prototype)
Parameter
Name Description
prototype BigQueryDiscoveryTarget
Returns
Type Description
BigQueryDiscoveryTarget.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryDiscoveryTarget parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BigQueryDiscoveryTarget parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryDiscoveryTarget parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryDiscoveryTarget parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BigQueryDiscoveryTarget parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BigQueryDiscoveryTarget parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BigQueryDiscoveryTarget> parser()
Returns
Type Description
Parser<BigQueryDiscoveryTarget>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCadence()

public DiscoveryGenerationCadence getCadence()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
DiscoveryGenerationCadence

The cadence.

getCadenceOrBuilder()

public DiscoveryGenerationCadenceOrBuilder getCadenceOrBuilder()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
DiscoveryGenerationCadenceOrBuilder

getConditions()

public DiscoveryBigQueryConditions getConditions()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
DiscoveryBigQueryConditions

The conditions.

getConditionsOrBuilder()

public DiscoveryBigQueryConditionsOrBuilder getConditionsOrBuilder()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
DiscoveryBigQueryConditionsOrBuilder

getDefaultInstanceForType()

public BigQueryDiscoveryTarget getDefaultInstanceForType()
Returns
Type Description
BigQueryDiscoveryTarget

getDisabled()

public Disabled getDisabled()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
Disabled

The disabled.

getDisabledOrBuilder()

public DisabledOrBuilder getDisabledOrBuilder()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
DisabledOrBuilder

getFilter()

public DiscoveryBigQueryFilter getFilter()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryBigQueryFilter

The filter.

getFilterOrBuilder()

public DiscoveryBigQueryFilterOrBuilder getFilterOrBuilder()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryBigQueryFilterOrBuilder

getFrequencyCase()

public BigQueryDiscoveryTarget.FrequencyCase getFrequencyCase()
Returns
Type Description
BigQueryDiscoveryTarget.FrequencyCase

getParserForType()

public Parser<BigQueryDiscoveryTarget> getParserForType()
Returns
Type Description
Parser<BigQueryDiscoveryTarget>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCadence()

public boolean hasCadence()

How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryGenerationCadence cadence = 3;

Returns
Type Description
boolean

Whether the cadence field is set.

hasConditions()

public boolean hasConditions()

In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions conditions = 2;

Returns
Type Description
boolean

Whether the conditions field is set.

hasDisabled()

public boolean hasDisabled()

Tables that match this filter will not have profiles created.

.google.privacy.dlp.v2.Disabled disabled = 4;

Returns
Type Description
boolean

Whether the disabled field is set.

hasFilter()

public boolean hasFilter()

Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.

.google.privacy.dlp.v2.DiscoveryBigQueryFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filter field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BigQueryDiscoveryTarget.Builder newBuilderForType()
Returns
Type Description
BigQueryDiscoveryTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryDiscoveryTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BigQueryDiscoveryTarget.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BigQueryDiscoveryTarget.Builder toBuilder()
Returns
Type Description
BigQueryDiscoveryTarget.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException