Class DataProfileConfigSnapshot (3.44.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
TypeDescription
int

DISCOVERY_CONFIG_FIELD_NUMBER

public static final int DISCOVERY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

INSPECT_CONFIG_FIELD_NUMBER

public static final int INSPECT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

INSPECT_TEMPLATE_MODIFIED_TIME_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_MODIFIED_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

INSPECT_TEMPLATE_NAME_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfileConfigSnapshot getDefaultInstance()
Returns
TypeDescription
DataProfileConfigSnapshot

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataProfileConfigSnapshot.Builder newBuilder()
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

newBuilder(DataProfileConfigSnapshot prototype)

public static DataProfileConfigSnapshot.Builder newBuilder(DataProfileConfigSnapshot prototype)
Parameter
NameDescription
prototypeDataProfileConfigSnapshot
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileConfigSnapshot parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataProfileConfigSnapshot parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileConfigSnapshot parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileConfigSnapshot parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataProfileConfigSnapshot parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataProfileConfigSnapshot parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileConfigSnapshot parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileConfigSnapshot
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataProfileConfigSnapshot> parser()
Returns
TypeDescription
Parser<DataProfileConfigSnapshot>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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=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
TypeDescription
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
TypeDescription
DataProfileJobConfigOrBuilder

getDefaultInstanceForType()

public DataProfileConfigSnapshot getDefaultInstanceForType()
Returns
TypeDescription
DataProfileConfigSnapshot

getDiscoveryConfig()

public DiscoveryConfig getDiscoveryConfig()

A copy of the configuration used to generate this profile.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InspectConfigOrBuilder

getInspectTemplateModifiedTime()

public Timestamp getInspectTemplateModifiedTime()

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Returns
TypeDescription
Timestamp

The inspectTemplateModifiedTime.

getInspectTemplateModifiedTimeOrBuilder()

public TimestampOrBuilder getInspectTemplateModifiedTimeOrBuilder()

Timestamp when the template was modified

.google.protobuf.Timestamp inspect_template_modified_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getInspectTemplateName()

public String getInspectTemplateName()

Name of the inspection template used to generate this profile

string inspect_template_name = 5;

Returns
TypeDescription
String

The inspectTemplateName.

getInspectTemplateNameBytes()

public ByteString getInspectTemplateNameBytes()

Name of the inspection template used to generate this profile

string inspect_template_name = 5;

Returns
TypeDescription
ByteString

The bytes for inspectTemplateName.

getParserForType()

public Parser<DataProfileConfigSnapshot> getParserForType()
Returns
TypeDescription
Parser<DataProfileConfigSnapshot>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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=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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the inspectTemplateModifiedTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataProfileConfigSnapshot.Builder newBuilderForType()
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileConfigSnapshot.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataProfileConfigSnapshot.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataProfileConfigSnapshot.Builder toBuilder()
Returns
TypeDescription
DataProfileConfigSnapshot.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException