Class DataProfileConfigSnapshot.Builder (3.46.0)

public static final class DataProfileConfigSnapshot.Builder extends GeneratedMessageV3.Builder<DataProfileConfigSnapshot.Builder> implements DataProfileConfigSnapshotOrBuilder

Snapshot of the configurations used to generate the profile.

Protobuf type google.privacy.dlp.v2.DataProfileConfigSnapshot

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileConfigSnapshot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

build()

public DataProfileConfigSnapshot build()
Returns
Type Description
DataProfileConfigSnapshot

buildPartial()

public DataProfileConfigSnapshot buildPartial()
Returns
Type Description
DataProfileConfigSnapshot

clear()

public DataProfileConfigSnapshot.Builder clear()
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

clearDataProfileJob() (deprecated)

public DataProfileConfigSnapshot.Builder clearDataProfileJob()

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];

Returns
Type Description
DataProfileConfigSnapshot.Builder

clearDiscoveryConfig()

public DataProfileConfigSnapshot.Builder clearDiscoveryConfig()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;

Returns
Type Description
DataProfileConfigSnapshot.Builder

clearField(Descriptors.FieldDescriptor field)

public DataProfileConfigSnapshot.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

clearInspectConfig()

public DataProfileConfigSnapshot.Builder 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;

Returns
Type Description
DataProfileConfigSnapshot.Builder

clearInspectTemplateModifiedTime()

public DataProfileConfigSnapshot.Builder clearInspectTemplateModifiedTime()

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Returns
Type Description
DataProfileConfigSnapshot.Builder

clearInspectTemplateName()

public DataProfileConfigSnapshot.Builder clearInspectTemplateName()

Name of the inspection template used to generate this profile

string inspect_template_name = 5;

Returns
Type Description
DataProfileConfigSnapshot.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileConfigSnapshot.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

clone()

public DataProfileConfigSnapshot.Builder clone()
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

getDataProfileJob() (deprecated)

public DataProfileJobConfig getDataProfileJob()

Deprecated. google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated. See google/privacy/dlp/v2/dlp.proto;l=6262

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];

Returns
Type Description
DataProfileJobConfig

The dataProfileJob.

getDataProfileJobBuilder() (deprecated)

public DataProfileJobConfig.Builder getDataProfileJobBuilder()

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];

Returns
Type Description
DataProfileJobConfig.Builder

getDataProfileJobOrBuilder() (deprecated)

public DataProfileJobConfigOrBuilder getDataProfileJobOrBuilder()

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];

Returns
Type Description
DataProfileJobConfigOrBuilder

getDefaultInstanceForType()

public DataProfileConfigSnapshot getDefaultInstanceForType()
Returns
Type Description
DataProfileConfigSnapshot

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiscoveryConfig()

public DiscoveryConfig getDiscoveryConfig()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;

Returns
Type Description
DiscoveryConfig

The discoveryConfig.

getDiscoveryConfigBuilder()

public DiscoveryConfig.Builder getDiscoveryConfigBuilder()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;

Returns
Type Description
DiscoveryConfig.Builder

getDiscoveryConfigOrBuilder()

public DiscoveryConfigOrBuilder getDiscoveryConfigOrBuilder()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;

Returns
Type Description
DiscoveryConfigOrBuilder

getInspectConfig()

public InspectConfig 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;

Returns
Type Description
InspectConfig

The inspectConfig.

getInspectConfigBuilder()

public InspectConfig.Builder 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;

Returns
Type Description
InspectConfig.Builder

getInspectConfigOrBuilder()

public InspectConfigOrBuilder 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;

Returns
Type Description
InspectConfigOrBuilder

getInspectTemplateModifiedTime()

public Timestamp getInspectTemplateModifiedTime()

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Returns
Type Description
Timestamp

The inspectTemplateModifiedTime.

getInspectTemplateModifiedTimeBuilder()

public Timestamp.Builder getInspectTemplateModifiedTimeBuilder()

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Returns
Type Description
Builder

getInspectTemplateModifiedTimeOrBuilder()

public TimestampOrBuilder getInspectTemplateModifiedTimeOrBuilder()

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Returns
Type Description
TimestampOrBuilder

getInspectTemplateName()

public String getInspectTemplateName()

Name of the inspection template used to generate this profile

string inspect_template_name = 5;

Returns
Type Description
String

The inspectTemplateName.

getInspectTemplateNameBytes()

public ByteString getInspectTemplateNameBytes()

Name of the inspection template used to generate this profile

string inspect_template_name = 5;

Returns
Type Description
ByteString

The bytes for inspectTemplateName.

hasDataProfileJob() (deprecated)

public boolean hasDataProfileJob()

Deprecated. google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated. See google/privacy/dlp/v2/dlp.proto;l=6262

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];

Returns
Type Description
boolean

Whether the dataProfileJob field is set.

hasDiscoveryConfig()

public boolean hasDiscoveryConfig()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;

Returns
Type Description
boolean

Whether the discoveryConfig field is set.

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;

Returns
Type Description
boolean

Whether the inspectConfig field is set.

hasInspectTemplateModifiedTime()

public boolean hasInspectTemplateModifiedTime()

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Returns
Type Description
boolean

Whether the inspectTemplateModifiedTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataProfileJob(DataProfileJobConfig value) (deprecated)

public DataProfileConfigSnapshot.Builder mergeDataProfileJob(DataProfileJobConfig value)

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];

Parameter
Name Description
value DataProfileJobConfig
Returns
Type Description
DataProfileConfigSnapshot.Builder

mergeDiscoveryConfig(DiscoveryConfig value)

public DataProfileConfigSnapshot.Builder mergeDiscoveryConfig(DiscoveryConfig value)

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;

Parameter
Name Description
value DiscoveryConfig
Returns
Type Description
DataProfileConfigSnapshot.Builder

mergeFrom(DataProfileConfigSnapshot other)

public DataProfileConfigSnapshot.Builder mergeFrom(DataProfileConfigSnapshot other)
Parameter
Name Description
other DataProfileConfigSnapshot
Returns
Type Description
DataProfileConfigSnapshot.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileConfigSnapshot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataProfileConfigSnapshot.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

mergeInspectConfig(InspectConfig value)

public DataProfileConfigSnapshot.Builder mergeInspectConfig(InspectConfig value)

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;

Parameter
Name Description
value InspectConfig
Returns
Type Description
DataProfileConfigSnapshot.Builder

mergeInspectTemplateModifiedTime(Timestamp value)

public DataProfileConfigSnapshot.Builder mergeInspectTemplateModifiedTime(Timestamp value)

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
DataProfileConfigSnapshot.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileConfigSnapshot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

setDataProfileJob(DataProfileJobConfig value) (deprecated)

public DataProfileConfigSnapshot.Builder setDataProfileJob(DataProfileJobConfig value)

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];

Parameter
Name Description
value DataProfileJobConfig
Returns
Type Description
DataProfileConfigSnapshot.Builder

setDataProfileJob(DataProfileJobConfig.Builder builderForValue) (deprecated)

public DataProfileConfigSnapshot.Builder setDataProfileJob(DataProfileJobConfig.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DataProfileJobConfig.Builder
Returns
Type Description
DataProfileConfigSnapshot.Builder

setDiscoveryConfig(DiscoveryConfig value)

public DataProfileConfigSnapshot.Builder setDiscoveryConfig(DiscoveryConfig value)

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;

Parameter
Name Description
value DiscoveryConfig
Returns
Type Description
DataProfileConfigSnapshot.Builder

setDiscoveryConfig(DiscoveryConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue DiscoveryConfig.Builder
Returns
Type Description
DataProfileConfigSnapshot.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileConfigSnapshot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

setInspectConfig(InspectConfig value)

public DataProfileConfigSnapshot.Builder setInspectConfig(InspectConfig value)

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;

Parameter
Name Description
value InspectConfig
Returns
Type Description
DataProfileConfigSnapshot.Builder

setInspectConfig(InspectConfig.Builder builderForValue)

public DataProfileConfigSnapshot.Builder setInspectConfig(InspectConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue InspectConfig.Builder
Returns
Type Description
DataProfileConfigSnapshot.Builder

setInspectTemplateModifiedTime(Timestamp value)

public DataProfileConfigSnapshot.Builder setInspectTemplateModifiedTime(Timestamp value)

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
DataProfileConfigSnapshot.Builder

setInspectTemplateModifiedTime(Timestamp.Builder builderForValue)

public DataProfileConfigSnapshot.Builder setInspectTemplateModifiedTime(Timestamp.Builder builderForValue)

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DataProfileConfigSnapshot.Builder

setInspectTemplateName(String value)

public DataProfileConfigSnapshot.Builder setInspectTemplateName(String value)

Name of the inspection template used to generate this profile

string inspect_template_name = 5;

Parameter
Name Description
value String

The inspectTemplateName to set.

Returns
Type Description
DataProfileConfigSnapshot.Builder

This builder for chaining.

setInspectTemplateNameBytes(ByteString value)

public DataProfileConfigSnapshot.Builder setInspectTemplateNameBytes(ByteString value)

Name of the inspection template used to generate this profile

string inspect_template_name = 5;

Parameter
Name Description
value ByteString

The bytes for inspectTemplateName to set.

Returns
Type Description
DataProfileConfigSnapshot.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataProfileConfigSnapshot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileConfigSnapshot.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides