public static final class CloudDlpInspection.Builder extends GeneratedMessage.Builder<CloudDlpInspection.Builder> implements CloudDlpInspectionOrBuilderDetails about the Cloud Data Loss Prevention (Cloud DLP) inspection job that produced the finding.
Protobuf type google.cloud.securitycenter.v2.CloudDlpInspection
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudDlpInspection.BuilderImplements
CloudDlpInspectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CloudDlpInspection build()| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection |
|
buildPartial()
public CloudDlpInspection buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection |
|
clear()
public CloudDlpInspection.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
|
clearFullScan()
public CloudDlpInspection.Builder clearFullScan()Whether Cloud DLP scanned the complete resource or a sampled subset.
bool full_scan = 4;
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
clearInfoType()
public CloudDlpInspection.Builder clearInfoType() The type of information (or
infoType) found,
for example, EMAIL_ADDRESS or STREET_ADDRESS.
string info_type = 2;
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
clearInfoTypeCount()
public CloudDlpInspection.Builder clearInfoTypeCount()The number of times Cloud DLP found this infoType within this job and resource.
int64 info_type_count = 3;
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
clearInspectJob()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CloudDlpInspection getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudDlpInspection other)
public CloudDlpInspection.Builder mergeFrom(CloudDlpInspection other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudDlpInspection |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudDlpInspection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudDlpInspection.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
|
setFullScan(boolean value)
public CloudDlpInspection.Builder setFullScan(boolean value)Whether Cloud DLP scanned the complete resource or a sampled subset.
bool full_scan = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe fullScan to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
setInfoType(String value)
public CloudDlpInspection.Builder setInfoType(String value) The type of information (or
infoType) found,
for example, EMAIL_ADDRESS or STREET_ADDRESS.
string info_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe infoType to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
setInfoTypeBytes(ByteString value)
public CloudDlpInspection.Builder setInfoTypeBytes(ByteString value) The type of information (or
infoType) found,
for example, EMAIL_ADDRESS or STREET_ADDRESS.
string info_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for infoType to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
setInfoTypeCount(long value)
public CloudDlpInspection.Builder setInfoTypeCount(long value)The number of times Cloud DLP found this infoType within this job and resource.
int64 info_type_count = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe infoTypeCount to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
setInspectJob(String value)
public 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe inspectJob to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |
setInspectJobBytes(ByteString value)
public CloudDlpInspection.Builder setInspectJobBytes(ByteString value) Name of the inspection job, for example,
projects/123/locations/europe/dlpJobs/i-8383929.
string inspect_job = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for inspectJob to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpInspection.Builder |
This builder for chaining. |