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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public DataProfileConfigSnapshot build()
Returns

buildPartial()

public DataProfileConfigSnapshot buildPartial()
Returns

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataProfileJobOrBuilder()

public DataProfileJobConfigOrBuilder getDataProfileJobOrBuilder()

A copy of the configuration used to generate this profile.

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

Returns

getDefaultInstanceForType()

public DataProfileConfigSnapshot getDefaultInstanceForType()
Returns

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

mergeFrom(DataProfileConfigSnapshot other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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