Class CloudSqlDiscoveryTarget (3.50.0)

public final class CloudSqlDiscoveryTarget extends GeneratedMessageV3 implements CloudSqlDiscoveryTargetOrBuilder

Target used to match against for discovery with Cloud SQL tables.

Protobuf type google.privacy.dlp.v2.CloudSqlDiscoveryTarget

Static Fields

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

GENERATION_CADENCE_FIELD_NUMBER

public static final int GENERATION_CADENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudSqlDiscoveryTarget getDefaultInstance()
Returns
Type Description
CloudSqlDiscoveryTarget

getDescriptor()

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

newBuilder()

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

newBuilder(CloudSqlDiscoveryTarget prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCadenceCase()

public CloudSqlDiscoveryTarget.CadenceCase getCadenceCase()
Returns
Type Description
CloudSqlDiscoveryTarget.CadenceCase

getConditions()

public DiscoveryCloudSqlConditions getConditions()

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

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

Returns
Type Description
DiscoveryCloudSqlConditions

The conditions.

getConditionsOrBuilder()

public DiscoveryCloudSqlConditionsOrBuilder getConditionsOrBuilder()

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

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

Returns
Type Description
DiscoveryCloudSqlConditionsOrBuilder

getDefaultInstanceForType()

public CloudSqlDiscoveryTarget getDefaultInstanceForType()
Returns
Type Description
CloudSqlDiscoveryTarget

getDisabled()

public Disabled getDisabled()

Disable profiling for database resources that match this filter.

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

Returns
Type Description
Disabled

The disabled.

getDisabledOrBuilder()

public DisabledOrBuilder getDisabledOrBuilder()

Disable profiling for database resources that match this filter.

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

Returns
Type Description
DisabledOrBuilder

getFilter()

public DiscoveryCloudSqlFilter 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.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryCloudSqlFilter

The filter.

getFilterOrBuilder()

public DiscoveryCloudSqlFilterOrBuilder 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.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryCloudSqlFilterOrBuilder

getGenerationCadence()

public DiscoveryCloudSqlGenerationCadence getGenerationCadence()

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.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;

Returns
Type Description
DiscoveryCloudSqlGenerationCadence

The generationCadence.

getGenerationCadenceOrBuilder()

public DiscoveryCloudSqlGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()

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.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;

Returns
Type Description
DiscoveryCloudSqlGenerationCadenceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConditions()

public boolean hasConditions()

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

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

Returns
Type Description
boolean

Whether the conditions field is set.

hasDisabled()

public boolean hasDisabled()

Disable profiling for database resources that match this filter.

.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.DiscoveryCloudSqlFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filter field is set.

hasGenerationCadence()

public boolean hasGenerationCadence()

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.DiscoveryCloudSqlGenerationCadence generation_cadence = 3;

Returns
Type Description
boolean

Whether the generationCadence 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 CloudSqlDiscoveryTarget.Builder newBuilderForType()
Returns
Type Description
CloudSqlDiscoveryTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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