Class DataProfileConfigSnapshot.Builder (3.23.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()

public DataProfileConfigSnapshot.Builder clearDataProfileJob()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

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

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()

public DataProfileJobConfig getDataProfileJob()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

Returns
Type Description
DataProfileJobConfig

The dataProfileJob.

getDataProfileJobBuilder()

public DataProfileJobConfig.Builder getDataProfileJobBuilder()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

Returns
Type Description
DataProfileJobConfig.Builder

getDataProfileJobOrBuilder()

public DataProfileJobConfigOrBuilder getDataProfileJobOrBuilder()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

Returns
Type Description
DataProfileJobConfigOrBuilder

getDefaultInstanceForType()

public DataProfileConfigSnapshot getDefaultInstanceForType()
Returns
Type Description
DataProfileConfigSnapshot

getDescriptorForType()

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

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

hasDataProfileJob()

public boolean hasDataProfileJob()

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

Returns
Type Description
boolean

Whether the dataProfileJob 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataProfileJob(DataProfileJobConfig value)

public DataProfileConfigSnapshot.Builder mergeDataProfileJob(DataProfileJobConfig value)

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

Parameter
Name Description
value DataProfileJobConfig
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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataProfileJob(DataProfileJobConfig value)

public DataProfileConfigSnapshot.Builder setDataProfileJob(DataProfileJobConfig value)

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

Parameter
Name Description
value DataProfileJobConfig
Returns
Type Description
DataProfileConfigSnapshot.Builder

setDataProfileJob(DataProfileJobConfig.Builder builderForValue)

public DataProfileConfigSnapshot.Builder setDataProfileJob(DataProfileJobConfig.Builder builderForValue)

A copy of the configuration used to generate this profile.

.google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3;

Parameter
Name Description
builderForValue DataProfileJobConfig.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

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