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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CloudSqlDiscoveryTarget.Builder newBuilder()
newBuilder(CloudSqlDiscoveryTarget prototype)
public static CloudSqlDiscoveryTarget.Builder newBuilder(CloudSqlDiscoveryTarget prototype)
public static CloudSqlDiscoveryTarget parseDelimitedFrom(InputStream input)
public static CloudSqlDiscoveryTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CloudSqlDiscoveryTarget parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudSqlDiscoveryTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CloudSqlDiscoveryTarget parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudSqlDiscoveryTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudSqlDiscoveryTarget parseFrom(CodedInputStream input)
public static CloudSqlDiscoveryTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudSqlDiscoveryTarget parseFrom(InputStream input)
public static CloudSqlDiscoveryTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CloudSqlDiscoveryTarget parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudSqlDiscoveryTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CloudSqlDiscoveryTarget> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCadenceCase()
public CloudSqlDiscoveryTarget.CadenceCase getCadenceCase()
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;
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;
getDefaultInstanceForType()
public CloudSqlDiscoveryTarget getDefaultInstanceForType()
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;
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];
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];
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;
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;
getParserForType()
public Parser<CloudSqlDiscoveryTarget> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CloudSqlDiscoveryTarget.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudSqlDiscoveryTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CloudSqlDiscoveryTarget.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides