Package com.google.privacy.dlp.v2
Class DataProfileConfigSnapshot.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataProfileConfigSnapshot.Builder>
com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder
- All Implemented Interfaces:
DataProfileConfigSnapshotOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataProfileConfigSnapshot
public static final class DataProfileConfigSnapshot.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataProfileConfigSnapshot.Builder>
implements DataProfileConfigSnapshotOrBuilder
Snapshot of the configurations used to generate the profile.Protobuf type
google.privacy.dlp.v2.DataProfileConfigSnapshot-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Deprecated.A copy of the configuration used to generate this profile.A copy of the inspection config used to generate this profile.Timestamp when the template was modifiedName of the inspection template used to generate this profileDeprecated.google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated.Deprecated.Deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA copy of the configuration used to generate this profile.A copy of the configuration used to generate this profile.A copy of the configuration used to generate this profile.A copy of the inspection config used to generate this profile.A copy of the inspection config used to generate this profile.A copy of the inspection config used to generate this profile.com.google.protobuf.TimestampTimestamp when the template was modifiedcom.google.protobuf.Timestamp.BuilderTimestamp when the template was modifiedcom.google.protobuf.TimestampOrBuilderTimestamp when the template was modifiedName of the inspection template used to generate this profilecom.google.protobuf.ByteStringName of the inspection template used to generate this profilebooleanDeprecated.google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated.booleanA copy of the configuration used to generate this profile.booleanA copy of the inspection config used to generate this profile.booleanTimestamp when the template was modifiedprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanDeprecated.A copy of the configuration used to generate this profile.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInspectConfig(InspectConfig value) A copy of the inspection config used to generate this profile.mergeInspectTemplateModifiedTime(com.google.protobuf.Timestamp value) Timestamp when the template was modifiedDeprecated.setDataProfileJob(DataProfileJobConfig.Builder builderForValue) Deprecated.A copy of the configuration used to generate this profile.setDiscoveryConfig(DiscoveryConfig.Builder builderForValue) A copy of the configuration used to generate this profile.setInspectConfig(InspectConfig value) A copy of the inspection config used to generate this profile.setInspectConfig(InspectConfig.Builder builderForValue) A copy of the inspection config used to generate this profile.setInspectTemplateModifiedTime(com.google.protobuf.Timestamp value) Timestamp when the template was modifiedsetInspectTemplateModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the template was modifiedsetInspectTemplateName(String value) Name of the inspection template used to generate this profilesetInspectTemplateNameBytes(com.google.protobuf.ByteString value) Name of the inspection template used to generate this profileMethods 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<DataProfileConfigSnapshot.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<DataProfileConfigSnapshot.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<DataProfileConfigSnapshot.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<DataProfileConfigSnapshot.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataProfileConfigSnapshot.Builder>
-
mergeFrom
public DataProfileConfigSnapshot.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<DataProfileConfigSnapshot.Builder>- Throws:
IOException
-
hasInspectConfig
public boolean hasInspectConfig()A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
hasInspectConfigin interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- Whether the inspectConfig field is set.
-
getInspectConfig
A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigin interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- The inspectConfig.
-
setInspectConfig
A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
setInspectConfig
A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
mergeInspectConfig
A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
clearInspectConfig
A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
getInspectConfigBuilder
A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
getInspectConfigOrBuilder
A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in `DataProfileJobConfig`.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigOrBuilderin interfaceDataProfileConfigSnapshotOrBuilder
-
hasDataProfileJob
Deprecated.google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated. See google/privacy/dlp/v2/dlp.proto;l=7894A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];- Specified by:
hasDataProfileJobin interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- Whether the dataProfileJob field is set.
-
getDataProfileJob
Deprecated.google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated. See google/privacy/dlp/v2/dlp.proto;l=7894A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];- Specified by:
getDataProfileJobin interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- The dataProfileJob.
-
setDataProfileJob
Deprecated.A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true]; -
setDataProfileJob
@Deprecated public DataProfileConfigSnapshot.Builder setDataProfileJob(DataProfileJobConfig.Builder builderForValue) Deprecated.A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true]; -
mergeDataProfileJob
@Deprecated public DataProfileConfigSnapshot.Builder mergeDataProfileJob(DataProfileJobConfig value) Deprecated.A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true]; -
clearDataProfileJob
Deprecated.A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true]; -
getDataProfileJobBuilder
Deprecated.A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true]; -
getDataProfileJobOrBuilder
Deprecated.A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.
.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];- Specified by:
getDataProfileJobOrBuilderin interfaceDataProfileConfigSnapshotOrBuilder
-
hasDiscoveryConfig
public boolean hasDiscoveryConfig()A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;- Specified by:
hasDiscoveryConfigin interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- Whether the discoveryConfig field is set.
-
getDiscoveryConfig
A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;- Specified by:
getDiscoveryConfigin interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- The discoveryConfig.
-
setDiscoveryConfig
A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4; -
setDiscoveryConfig
public DataProfileConfigSnapshot.Builder setDiscoveryConfig(DiscoveryConfig.Builder builderForValue) A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4; -
mergeDiscoveryConfig
A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4; -
clearDiscoveryConfig
A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4; -
getDiscoveryConfigBuilder
A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4; -
getDiscoveryConfigOrBuilder
A copy of the configuration used to generate this profile.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;- Specified by:
getDiscoveryConfigOrBuilderin interfaceDataProfileConfigSnapshotOrBuilder
-
getInspectTemplateName
Name of the inspection template used to generate this profile
string inspect_template_name = 5;- Specified by:
getInspectTemplateNamein interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- The inspectTemplateName.
-
getInspectTemplateNameBytes
public com.google.protobuf.ByteString getInspectTemplateNameBytes()Name of the inspection template used to generate this profile
string inspect_template_name = 5;- Specified by:
getInspectTemplateNameBytesin interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- The bytes for inspectTemplateName.
-
setInspectTemplateName
Name of the inspection template used to generate this profile
string inspect_template_name = 5;- Parameters:
value- The inspectTemplateName to set.- Returns:
- This builder for chaining.
-
clearInspectTemplateName
Name of the inspection template used to generate this profile
string inspect_template_name = 5;- Returns:
- This builder for chaining.
-
setInspectTemplateNameBytes
public DataProfileConfigSnapshot.Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) Name of the inspection template used to generate this profile
string inspect_template_name = 5;- Parameters:
value- The bytes for inspectTemplateName to set.- Returns:
- This builder for chaining.
-
hasInspectTemplateModifiedTime
public boolean hasInspectTemplateModifiedTime()Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6;- Specified by:
hasInspectTemplateModifiedTimein interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- Whether the inspectTemplateModifiedTime field is set.
-
getInspectTemplateModifiedTime
public com.google.protobuf.Timestamp getInspectTemplateModifiedTime()Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6;- Specified by:
getInspectTemplateModifiedTimein interfaceDataProfileConfigSnapshotOrBuilder- Returns:
- The inspectTemplateModifiedTime.
-
setInspectTemplateModifiedTime
public DataProfileConfigSnapshot.Builder setInspectTemplateModifiedTime(com.google.protobuf.Timestamp value) Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6; -
setInspectTemplateModifiedTime
public DataProfileConfigSnapshot.Builder setInspectTemplateModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6; -
mergeInspectTemplateModifiedTime
public DataProfileConfigSnapshot.Builder mergeInspectTemplateModifiedTime(com.google.protobuf.Timestamp value) Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6; -
clearInspectTemplateModifiedTime
Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6; -
getInspectTemplateModifiedTimeBuilder
public com.google.protobuf.Timestamp.Builder getInspectTemplateModifiedTimeBuilder()Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6; -
getInspectTemplateModifiedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getInspectTemplateModifiedTimeOrBuilder()Timestamp when the template was modified
.google.protobuf.Timestamp inspect_template_modified_time = 6;- Specified by:
getInspectTemplateModifiedTimeOrBuilderin interfaceDataProfileConfigSnapshotOrBuilder
-