public static final class CloudDlpInspection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder> implements CloudDlpInspectionOrBuilder
Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.Protobuf type
google.cloud.securitycenter.v1.CloudDlpInspection| Modifier and Type | Method and Description |
|---|---|
CloudDlpInspection.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudDlpInspection |
build() |
CloudDlpInspection |
buildPartial() |
CloudDlpInspection.Builder |
clear() |
CloudDlpInspection.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudDlpInspection.Builder |
clearFullScan()
Whether Cloud DLP scanned the complete resource or a sampled subset.
|
CloudDlpInspection.Builder |
clearInfoType()
The type of information (or
*[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
|
CloudDlpInspection.Builder |
clearInfoTypeCount()
The number of times Cloud DLP found this infoType within this job
and resource.
|
CloudDlpInspection.Builder |
clearInspectJob()
Name of the inspection job, for example,
`projects/123/locations/europe/dlpJobs/i-8383929`.
|
CloudDlpInspection.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudDlpInspection.Builder |
clone() |
CloudDlpInspection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getFullScan()
Whether Cloud DLP scanned the complete resource or a sampled subset.
|
String |
getInfoType()
The type of information (or
*[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
|
com.google.protobuf.ByteString |
getInfoTypeBytes()
The type of information (or
*[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
|
long |
getInfoTypeCount()
The number of times Cloud DLP found this infoType within this job
and resource.
|
String |
getInspectJob()
Name of the inspection job, for example,
`projects/123/locations/europe/dlpJobs/i-8383929`.
|
com.google.protobuf.ByteString |
getInspectJobBytes()
Name of the inspection job, for example,
`projects/123/locations/europe/dlpJobs/i-8383929`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudDlpInspection.Builder |
mergeFrom(CloudDlpInspection other) |
CloudDlpInspection.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudDlpInspection.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudDlpInspection.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudDlpInspection.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudDlpInspection.Builder |
setFullScan(boolean value)
Whether Cloud DLP scanned the complete resource or a sampled subset.
|
CloudDlpInspection.Builder |
setInfoType(String value)
The type of information (or
*[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
|
CloudDlpInspection.Builder |
setInfoTypeBytes(com.google.protobuf.ByteString value)
The type of information (or
*[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
|
CloudDlpInspection.Builder |
setInfoTypeCount(long value)
The number of times Cloud DLP found this infoType within this job
and resource.
|
CloudDlpInspection.Builder |
setInspectJob(String value)
Name of the inspection job, for example,
`projects/123/locations/europe/dlpJobs/i-8383929`.
|
CloudDlpInspection.Builder |
setInspectJobBytes(com.google.protobuf.ByteString value)
Name of the inspection job, for example,
`projects/123/locations/europe/dlpJobs/i-8383929`.
|
CloudDlpInspection.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudDlpInspection.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudDlpInspection build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudDlpInspection buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudDlpInspection.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder mergeFrom(CloudDlpInspection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public CloudDlpInspection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudDlpInspection.Builder>IOExceptionpublic String getInspectJob()
Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
string inspect_job = 1 [(.google.api.resource_reference) = { ... }getInspectJob in interface CloudDlpInspectionOrBuilderpublic com.google.protobuf.ByteString getInspectJobBytes()
Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
string inspect_job = 1 [(.google.api.resource_reference) = { ... }getInspectJobBytes in interface CloudDlpInspectionOrBuilderpublic CloudDlpInspection.Builder setInspectJob(String value)
Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
string inspect_job = 1 [(.google.api.resource_reference) = { ... }value - The inspectJob to set.public CloudDlpInspection.Builder clearInspectJob()
Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
string inspect_job = 1 [(.google.api.resource_reference) = { ... }public CloudDlpInspection.Builder setInspectJobBytes(com.google.protobuf.ByteString value)
Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
string inspect_job = 1 [(.google.api.resource_reference) = { ... }value - The bytes for inspectJob to set.public String getInfoType()
The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
string info_type = 2;getInfoType in interface CloudDlpInspectionOrBuilderpublic com.google.protobuf.ByteString getInfoTypeBytes()
The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
string info_type = 2;getInfoTypeBytes in interface CloudDlpInspectionOrBuilderpublic CloudDlpInspection.Builder setInfoType(String value)
The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
string info_type = 2;value - The infoType to set.public CloudDlpInspection.Builder clearInfoType()
The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
string info_type = 2;public CloudDlpInspection.Builder setInfoTypeBytes(com.google.protobuf.ByteString value)
The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
string info_type = 2;value - The bytes for infoType to set.public long getInfoTypeCount()
The number of times Cloud DLP found this infoType within this job and resource.
int64 info_type_count = 3;getInfoTypeCount in interface CloudDlpInspectionOrBuilderpublic CloudDlpInspection.Builder setInfoTypeCount(long value)
The number of times Cloud DLP found this infoType within this job and resource.
int64 info_type_count = 3;value - The infoTypeCount to set.public CloudDlpInspection.Builder clearInfoTypeCount()
The number of times Cloud DLP found this infoType within this job and resource.
int64 info_type_count = 3;public boolean getFullScan()
Whether Cloud DLP scanned the complete resource or a sampled subset.
bool full_scan = 4;getFullScan in interface CloudDlpInspectionOrBuilderpublic CloudDlpInspection.Builder setFullScan(boolean value)
Whether Cloud DLP scanned the complete resource or a sampled subset.
bool full_scan = 4;value - The fullScan to set.public CloudDlpInspection.Builder clearFullScan()
Whether Cloud DLP scanned the complete resource or a sampled subset.
bool full_scan = 4;public final CloudDlpInspection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>public final CloudDlpInspection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudDlpInspection.Builder>Copyright © 2023 Google LLC. All rights reserved.