Class CloudDlpInspection (2.49.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.v2.CloudDlpInspection

Static Fields

FULL_SCAN_FIELD_NUMBER

public static final int FULL_SCAN_FIELD_NUMBER
Field Value
TypeDescription
int

INFO_TYPE_COUNT_FIELD_NUMBER

public static final int INFO_TYPE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

INSPECT_JOB_FIELD_NUMBER

public static final int INSPECT_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudDlpInspection getDefaultInstance()
Returns
TypeDescription
CloudDlpInspection

getDescriptor()

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

newBuilder()

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

newBuilder(CloudDlpInspection prototype)

public static CloudDlpInspection.Builder newBuilder(CloudDlpInspection prototype)
Parameter
NameDescription
prototypeCloudDlpInspection
Returns
TypeDescription
CloudDlpInspection.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CloudDlpInspection getDefaultInstanceForType()
Returns
TypeDescription
CloudDlpInspection

getFullScan()

public boolean getFullScan()

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

bool full_scan = 4;

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

The bytes for inspectJob.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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