Class DataProfileConfigSnapshot.Builder (3.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileConfigSnapshot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfileConfigSnapshot.Builder
Overrides

build()

public DataProfileConfigSnapshot build()
Returns
TypeDescription
DataProfileConfigSnapshot

buildPartial()

public DataProfileConfigSnapshot buildPartial()
Returns
TypeDescription
DataProfileConfigSnapshot

clear()

public DataProfileConfigSnapshot.Builder clear()
Returns
TypeDescription
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
TypeDescription
DataProfileConfigSnapshot.Builder

clearField(Descriptors.FieldDescriptor field)

public DataProfileConfigSnapshot.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DataProfileConfigSnapshot.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileConfigSnapshot.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataProfileConfigSnapshot.Builder
Overrides

clone()

public DataProfileConfigSnapshot.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataProfileJobConfigOrBuilder

getDefaultInstanceForType()

public DataProfileConfigSnapshot getDefaultInstanceForType()
Returns
TypeDescription
DataProfileConfigSnapshot

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the inspectConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataProfileJobConfig
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

mergeFrom(DataProfileConfigSnapshot other)

public DataProfileConfigSnapshot.Builder mergeFrom(DataProfileConfigSnapshot other)
Parameter
NameDescription
otherDataProfileConfigSnapshot
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileConfigSnapshot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileConfigSnapshot.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataProfileConfigSnapshot.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInspectConfig
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileConfigSnapshot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataProfileJobConfig
Returns
TypeDescription
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
NameDescription
builderForValueDataProfileJobConfig.Builder
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileConfigSnapshot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInspectConfig
Returns
TypeDescription
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
NameDescription
builderForValueInspectConfig.Builder
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

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

public DataProfileConfigSnapshot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProfileConfigSnapshot.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileConfigSnapshot.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfileConfigSnapshot.Builder
Overrides