public static final class CloudSqlDiscoveryTarget.Builder extends GeneratedMessageV3.Builder<CloudSqlDiscoveryTarget.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlDiscoveryTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudSqlDiscoveryTarget build()
buildPartial()
public CloudSqlDiscoveryTarget buildPartial()
clear()
public CloudSqlDiscoveryTarget.Builder clear()
Overrides
clearCadence()
public CloudSqlDiscoveryTarget.Builder clearCadence()
clearConditions()
public CloudSqlDiscoveryTarget.Builder clearConditions()
In addition to matching the filter, these conditions must be true
before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
clearDisabled()
public CloudSqlDiscoveryTarget.Builder clearDisabled()
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
clearField(Descriptors.FieldDescriptor field)
public CloudSqlDiscoveryTarget.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilter()
public CloudSqlDiscoveryTarget.Builder clearFilter()
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];
clearGenerationCadence()
public CloudSqlDiscoveryTarget.Builder clearGenerationCadence()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSqlDiscoveryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CloudSqlDiscoveryTarget.Builder clone()
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;
getConditionsBuilder()
public DiscoveryCloudSqlConditions.Builder getConditionsBuilder()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getDisabledBuilder()
public Disabled.Builder getDisabledBuilder()
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
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];
getFilterBuilder()
public DiscoveryCloudSqlFilter.Builder getFilterBuilder()
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;
getGenerationCadenceBuilder()
public DiscoveryCloudSqlGenerationCadence.Builder getGenerationCadenceBuilder()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConditions(DiscoveryCloudSqlConditions value)
public CloudSqlDiscoveryTarget.Builder mergeConditions(DiscoveryCloudSqlConditions value)
In addition to matching the filter, these conditions must be true
before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
mergeDisabled(Disabled value)
public CloudSqlDiscoveryTarget.Builder mergeDisabled(Disabled value)
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
Parameter |
Name |
Description |
value |
Disabled
|
mergeFilter(DiscoveryCloudSqlFilter value)
public CloudSqlDiscoveryTarget.Builder mergeFilter(DiscoveryCloudSqlFilter value)
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];
mergeFrom(CloudSqlDiscoveryTarget other)
public CloudSqlDiscoveryTarget.Builder mergeFrom(CloudSqlDiscoveryTarget other)
public CloudSqlDiscoveryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudSqlDiscoveryTarget.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGenerationCadence(DiscoveryCloudSqlGenerationCadence value)
public CloudSqlDiscoveryTarget.Builder mergeGenerationCadence(DiscoveryCloudSqlGenerationCadence value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlDiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConditions(DiscoveryCloudSqlConditions value)
public CloudSqlDiscoveryTarget.Builder setConditions(DiscoveryCloudSqlConditions value)
In addition to matching the filter, these conditions must be true
before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
setConditions(DiscoveryCloudSqlConditions.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setConditions(DiscoveryCloudSqlConditions.Builder builderForValue)
In addition to matching the filter, these conditions must be true
before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;
setDisabled(Disabled value)
public CloudSqlDiscoveryTarget.Builder setDisabled(Disabled value)
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
Parameter |
Name |
Description |
value |
Disabled
|
setDisabled(Disabled.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setDisabled(Disabled.Builder builderForValue)
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlDiscoveryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilter(DiscoveryCloudSqlFilter value)
public CloudSqlDiscoveryTarget.Builder setFilter(DiscoveryCloudSqlFilter value)
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];
setFilter(DiscoveryCloudSqlFilter.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setFilter(DiscoveryCloudSqlFilter.Builder builderForValue)
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];
setGenerationCadence(DiscoveryCloudSqlGenerationCadence value)
public CloudSqlDiscoveryTarget.Builder setGenerationCadence(DiscoveryCloudSqlGenerationCadence value)
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;
setGenerationCadence(DiscoveryCloudSqlGenerationCadence.Builder builderForValue)
public CloudSqlDiscoveryTarget.Builder setGenerationCadence(DiscoveryCloudSqlGenerationCadence.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSqlDiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlDiscoveryTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides