Class CloudDlpInspection (2.52.0)

public final class CloudDlpInspection extends GeneratedMessageV3 implements CloudDlpInspectionOrBuilder

Details about the Cloud Data Loss Prevention (Cloud DLP) inspection job that produced the finding.

Protobuf type google.cloud.securitycenter.v1.CloudDlpInspection

Static Fields

FULL_SCAN_FIELD_NUMBER

public static final int FULL_SCAN_FIELD_NUMBER
Field Value
Type Description
int

INFO_TYPE_COUNT_FIELD_NUMBER

public static final int INFO_TYPE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_JOB_FIELD_NUMBER

public static final int INSPECT_JOB_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudDlpInspection getDefaultInstance()
Returns
Type Description
CloudDlpInspection

getDescriptor()

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

newBuilder()

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

newBuilder(CloudDlpInspection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CloudDlpInspection getDefaultInstanceForType()
Returns
Type Description
CloudDlpInspection

getFullScan()

public boolean getFullScan()

Whether Cloud DLP scanned the complete resource or a sampled subset.

bool full_scan = 4;

Returns
Type Description
boolean

The fullScan.

getInfoType()

public String getInfoType()

The type of information (or infoType) found, for example, EMAIL_ADDRESS or STREET_ADDRESS.

string info_type = 2;

Returns
Type Description
String

The infoType.

getInfoTypeBytes()

public ByteString getInfoTypeBytes()

The type of information (or infoType) found, for example, EMAIL_ADDRESS or STREET_ADDRESS.

string info_type = 2;

Returns
Type Description
ByteString

The bytes for infoType.

getInfoTypeCount()

public long getInfoTypeCount()

The number of times Cloud DLP found this infoType within this job and resource.

int64 info_type_count = 3;

Returns
Type Description
long

The infoTypeCount.

getInspectJob()

public String getInspectJob()

Name of the inspection job, for example, projects/123/locations/europe/dlpJobs/i-8383929.

string inspect_job = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The inspectJob.

getInspectJobBytes()

public ByteString getInspectJobBytes()

Name of the inspection job, for example, projects/123/locations/europe/dlpJobs/i-8383929.

string inspect_job = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for inspectJob.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 CloudDlpInspection.Builder newBuilderForType()
Returns
Type Description
CloudDlpInspection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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