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

INSPECT_CONFIG_FIELD_NUMBER

public static final int INSPECT_CONFIG_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()

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.

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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