Class BigQueryDiscoveryTarget (3.34.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
TypeDescription
int

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
TypeDescription
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BigQueryDiscoveryTarget getDefaultInstance()
Returns
TypeDescription
BigQueryDiscoveryTarget

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BigQueryDiscoveryTarget.Builder newBuilder()
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

newBuilder(BigQueryDiscoveryTarget prototype)

public static BigQueryDiscoveryTarget.Builder newBuilder(BigQueryDiscoveryTarget prototype)
Parameter
NameDescription
prototypeBigQueryDiscoveryTarget
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryDiscoveryTarget parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BigQueryDiscoveryTarget parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryDiscoveryTarget parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryDiscoveryTarget parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BigQueryDiscoveryTarget parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BigQueryDiscoveryTarget parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDiscoveryTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDiscoveryTarget
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BigQueryDiscoveryTarget> parser()
Returns
TypeDescription
Parser<BigQueryDiscoveryTarget>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryBigQueryConditionsOrBuilder

getDefaultInstanceForType()

public BigQueryDiscoveryTarget getDefaultInstanceForType()
Returns
TypeDescription
BigQueryDiscoveryTarget

getDisabled()

public Disabled getDisabled()

Tables that match this filter will not have profiles created.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryBigQueryFilterOrBuilder

getFrequencyCase()

public BigQueryDiscoveryTarget.FrequencyCase getFrequencyCase()
Returns
TypeDescription
BigQueryDiscoveryTarget.FrequencyCase

getParserForType()

public Parser<BigQueryDiscoveryTarget> getParserForType()
Returns
TypeDescription
Parser<BigQueryDiscoveryTarget>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the filter field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BigQueryDiscoveryTarget.Builder newBuilderForType()
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryDiscoveryTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BigQueryDiscoveryTarget.Builder toBuilder()
Returns
TypeDescription
BigQueryDiscoveryTarget.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException