Package com.google.privacy.dlp.v2
Class CloudSqlDiscoveryTarget.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CloudSqlDiscoveryTarget.Builder>
com.google.privacy.dlp.v2.CloudSqlDiscoveryTarget.Builder
- All Implemented Interfaces:
CloudSqlDiscoveryTargetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CloudSqlDiscoveryTarget
public static final class CloudSqlDiscoveryTarget.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CloudSqlDiscoveryTarget.Builder>
implements CloudSqlDiscoveryTargetOrBuilder
Target used to match against for discovery with Cloud SQL tables.Protobuf type
google.privacy.dlp.v2.CloudSqlDiscoveryTarget-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()In addition to matching the filter, these conditions must be true before a profile is generated.Disable profiling for database resources that match this filter.Required.How often and when to update profiles.In addition to matching the filter, these conditions must be true before a profile is generated.In addition to matching the filter, these conditions must be true before a profile is generated.In addition to matching the filter, these conditions must be true before a profile is generated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDisable profiling for database resources that match this filter.Disable profiling for database resources that match this filter.Disable profiling for database resources that match this filter.Required.Required.Required.How often and when to update profiles.How often and when to update profiles.How often and when to update profiles.booleanIn addition to matching the filter, these conditions must be true before a profile is generated.booleanDisable profiling for database resources that match this filter.booleanRequired.booleanHow often and when to update profiles.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanIn addition to matching the filter, these conditions must be true before a profile is generated.mergeDisabled(Disabled value) Disable profiling for database resources that match this filter.Required.mergeFrom(CloudSqlDiscoveryTarget other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) How often and when to update profiles.In addition to matching the filter, these conditions must be true before a profile is generated.setConditions(DiscoveryCloudSqlConditions.Builder builderForValue) In addition to matching the filter, these conditions must be true before a profile is generated.setDisabled(Disabled value) Disable profiling for database resources that match this filter.setDisabled(Disabled.Builder builderForValue) Disable profiling for database resources that match this filter.setFilter(DiscoveryCloudSqlFilter value) Required.setFilter(DiscoveryCloudSqlFilter.Builder builderForValue) Required.How often and when to update profiles.setGenerationCadence(DiscoveryCloudSqlGenerationCadence.Builder builderForValue) How often and when to update profiles.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CloudSqlDiscoveryTarget.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CloudSqlDiscoveryTarget.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CloudSqlDiscoveryTarget.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CloudSqlDiscoveryTarget.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CloudSqlDiscoveryTarget.Builder>
-
mergeFrom
public CloudSqlDiscoveryTarget.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CloudSqlDiscoveryTarget.Builder>- Throws:
IOException
-
getCadenceCase
- Specified by:
getCadenceCasein interfaceCloudSqlDiscoveryTargetOrBuilder
-
clearCadence
-
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];- Specified by:
hasFilterin interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- Whether the filter field is set.
-
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];- Specified by:
getFilterin interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- The filter.
-
setFilter
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
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]; -
mergeFilter
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]; -
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]; -
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
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];- Specified by:
getFilterOrBuilderin interfaceCloudSqlDiscoveryTargetOrBuilder
-
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;- Specified by:
hasConditionsin interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- Whether the conditions field is set.
-
getConditions
In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;- Specified by:
getConditionsin interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- The conditions.
-
setConditions
In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2; -
setConditions
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; -
mergeConditions
In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2; -
clearConditions
In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2; -
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
In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryCloudSqlConditions conditions = 2;- Specified by:
getConditionsOrBuilderin interfaceCloudSqlDiscoveryTargetOrBuilder
-
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;- Specified by:
hasGenerationCadencein interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- Whether the generationCadence field is set.
-
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;- Specified by:
getGenerationCadencein interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- The generationCadence.
-
setGenerationCadence
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
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; -
mergeGenerationCadence
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; -
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; -
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
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;- Specified by:
getGenerationCadenceOrBuilderin interfaceCloudSqlDiscoveryTargetOrBuilder
-
hasDisabled
public boolean hasDisabled()Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;- Specified by:
hasDisabledin interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- Whether the disabled field is set.
-
getDisabled
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;- Specified by:
getDisabledin interfaceCloudSqlDiscoveryTargetOrBuilder- Returns:
- The disabled.
-
setDisabled
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4; -
setDisabled
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4; -
mergeDisabled
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4; -
clearDisabled
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4; -
getDisabledBuilder
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4; -
getDisabledOrBuilder
Disable profiling for database resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 4;- Specified by:
getDisabledOrBuilderin interfaceCloudSqlDiscoveryTargetOrBuilder
-