Class DataProfileConfigSnapshot (3.53.0)

public final class DataProfileConfigSnapshot extends GeneratedMessageV3 implements DataProfileConfigSnapshotOrBuilder

Snapshot of the configurations used to generate the profile.

Protobuf type google.privacy.dlp.v2.DataProfileConfigSnapshot

Static Fields

DATA_PROFILE_JOB_FIELD_NUMBER

public static final int DATA_PROFILE_JOB_FIELD_NUMBER
Field Value
Type Description
int

DISCOVERY_CONFIG_FIELD_NUMBER

public static final int DISCOVERY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_CONFIG_FIELD_NUMBER

public static final int INSPECT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_TEMPLATE_MODIFIED_TIME_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_MODIFIED_TIME_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_TEMPLATE_NAME_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataProfileConfigSnapshot getDefaultInstance()
Returns
Type Description
DataProfileConfigSnapshot

getDescriptor()

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

newBuilder()

public static DataProfileConfigSnapshot.Builder newBuilder()
Returns
Type Description
DataProfileConfigSnapshot.Builder

newBuilder(DataProfileConfigSnapshot prototype)

public static DataProfileConfigSnapshot.Builder newBuilder(DataProfileConfigSnapshot prototype)
Parameter
Name Description
prototype DataProfileConfigSnapshot
Returns
Type Description
DataProfileConfigSnapshot.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileConfigSnapshot parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataProfileConfigSnapshot parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileConfigSnapshot parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileConfigSnapshot parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataProfileConfigSnapshot parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataProfileConfigSnapshot parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileConfigSnapshot
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataProfileConfigSnapshot> parser()
Returns
Type Description
Parser<DataProfileConfigSnapshot>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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=6999

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.

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

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.

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.

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.

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.

getParserForType()

public Parser<DataProfileConfigSnapshot> getParserForType()
Returns
Type Description
Parser<DataProfileConfigSnapshot>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDataProfileJob() (deprecated)

public boolean hasDataProfileJob()

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataProfileConfigSnapshot.Builder newBuilderForType()
Returns
Type Description
DataProfileConfigSnapshot.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileConfigSnapshot.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataProfileConfigSnapshot.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataProfileConfigSnapshot.Builder toBuilder()
Returns
Type Description
DataProfileConfigSnapshot.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException