public static final class InspectResult.Builder extends GeneratedMessageV3.Builder<InspectResult.Builder> implements InspectResultOrBuilder
All the findings for a single scanned item.
Protobuf type google.privacy.dlp.v2.InspectResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllFindings(Iterable<? extends Finding> values)
public InspectResult.Builder addAllFindings(Iterable<? extends Finding> values)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.Finding>
|
addFindings(Finding value)
public InspectResult.Builder addFindings(Finding value)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter |
---|
Name | Description |
value | Finding
|
addFindings(Finding.Builder builderForValue)
public InspectResult.Builder addFindings(Finding.Builder builderForValue)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
addFindings(int index, Finding value)
public InspectResult.Builder addFindings(int index, Finding value)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
addFindings(int index, Finding.Builder builderForValue)
public InspectResult.Builder addFindings(int index, Finding.Builder builderForValue)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
addFindingsBuilder()
public Finding.Builder addFindingsBuilder()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
addFindingsBuilder(int index)
public Finding.Builder addFindingsBuilder(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InspectResult build()
buildPartial()
public InspectResult buildPartial()
clear()
public InspectResult.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InspectResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFindings()
public InspectResult.Builder clearFindings()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
clearFindingsTruncated()
public InspectResult.Builder clearFindingsTruncated()
If true, then this item might have more findings than were returned,
and the findings returned are an arbitrary subset of all findings.
The findings list might be truncated because the input items were too
large, or because the server reached the maximum amount of resources
allowed for a single API call. For best results, divide the input into
smaller batches.
bool findings_truncated = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InspectResult.Builder clone()
Overrides
getDefaultInstanceForType()
public InspectResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFindings(int index)
public Finding getFindings(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter |
---|
Name | Description |
index | int
|
getFindingsBuilder(int index)
public Finding.Builder getFindingsBuilder(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter |
---|
Name | Description |
index | int
|
getFindingsBuilderList()
public List<Finding.Builder> getFindingsBuilderList()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
getFindingsCount()
public int getFindingsCount()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Returns |
---|
Type | Description |
int | |
getFindingsList()
public List<Finding> getFindingsList()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
getFindingsOrBuilder(int index)
public FindingOrBuilder getFindingsOrBuilder(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter |
---|
Name | Description |
index | int
|
getFindingsOrBuilderList()
public List<? extends FindingOrBuilder> getFindingsOrBuilderList()
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Returns |
---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.FindingOrBuilder> | |
getFindingsTruncated()
public boolean getFindingsTruncated()
If true, then this item might have more findings than were returned,
and the findings returned are an arbitrary subset of all findings.
The findings list might be truncated because the input items were too
large, or because the server reached the maximum amount of resources
allowed for a single API call. For best results, divide the input into
smaller batches.
bool findings_truncated = 2;
Returns |
---|
Type | Description |
boolean | The findingsTruncated.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InspectResult other)
public InspectResult.Builder mergeFrom(InspectResult other)
public InspectResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InspectResult.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFindings(int index)
public InspectResult.Builder removeFindings(int index)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public InspectResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFindings(int index, Finding value)
public InspectResult.Builder setFindings(int index, Finding value)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
setFindings(int index, Finding.Builder builderForValue)
public InspectResult.Builder setFindings(int index, Finding.Builder builderForValue)
List of findings for an item.
repeated .google.privacy.dlp.v2.Finding findings = 1;
setFindingsTruncated(boolean value)
public InspectResult.Builder setFindingsTruncated(boolean value)
If true, then this item might have more findings than were returned,
and the findings returned are an arbitrary subset of all findings.
The findings list might be truncated because the input items were too
large, or because the server reached the maximum amount of resources
allowed for a single API call. For best results, divide the input into
smaller batches.
bool findings_truncated = 2;
Parameter |
---|
Name | Description |
value | boolean
The findingsTruncated to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides