Send feedback
Class SdpFinding.Builder (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.32.0 (latest)
0.29.0
0.28.0
0.26.0
0.24.0
0.23.0
0.21.0
0.19.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.11.0
0.9.0
0.8.0
0.5.0
0.4.0
0.3.0
0.1.0
public static final class SdpFinding . Builder extends GeneratedMessageV3 . Builder<SdpFinding . Builder > implements SdpFindingOrBuilder
Finding corresponding to Sensitive Data Protection filter.
Protobuf type google.cloud.modelarmor.v1beta.SdpFinding
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SdpFinding . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SdpFinding build ()
buildPartial()
public SdpFinding buildPartial ()
clear()
public SdpFinding . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SdpFinding . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearInfoType()
public SdpFinding . Builder clearInfoType ()
Name of Sensitive Data Protection info type for this finding.
string info_type = 1;
clearLikelihood()
public SdpFinding . Builder clearLikelihood ()
Identified confidence likelihood for info_type.
.google.cloud.modelarmor.v1beta.SdpFindingLikelihood likelihood = 2;
clearLocation()
public SdpFinding . Builder clearLocation ()
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public SdpFinding . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public SdpFinding . Builder clone ()
Overrides
getDefaultInstanceForType()
public SdpFinding getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getInfoType()
public String getInfoType ()
Name of Sensitive Data Protection info type for this finding.
string info_type = 1;
Returns
Type
Description
String
The infoType.
getInfoTypeBytes()
public ByteString getInfoTypeBytes ()
Name of Sensitive Data Protection info type for this finding.
string info_type = 1;
Returns
Type
Description
ByteString
The bytes for infoType.
getLikelihood()
public SdpFindingLikelihood getLikelihood ()
Identified confidence likelihood for info_type.
.google.cloud.modelarmor.v1beta.SdpFindingLikelihood likelihood = 2;
getLikelihoodValue()
public int getLikelihoodValue ()
Identified confidence likelihood for info_type.
.google.cloud.modelarmor.v1beta.SdpFindingLikelihood likelihood = 2;
Returns
Type
Description
int
The enum numeric value on the wire for likelihood.
getLocation()
public SdpFinding . SdpFindingLocation getLocation ()
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
getLocationBuilder()
public SdpFinding . SdpFindingLocation . Builder getLocationBuilder ()
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
getLocationOrBuilder()
public SdpFinding . SdpFindingLocationOrBuilder getLocationOrBuilder ()
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
hasLocation()
public boolean hasLocation ()
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
Returns
Type
Description
boolean
Whether the location field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SdpFinding other)
public SdpFinding . Builder mergeFrom ( SdpFinding other )
public SdpFinding . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SdpFinding . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeLocation(SdpFinding.SdpFindingLocation value)
public SdpFinding . Builder mergeLocation ( SdpFinding . SdpFindingLocation value )
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SdpFinding . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SdpFinding . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setInfoType(String value)
public SdpFinding . Builder setInfoType ( String value )
Name of Sensitive Data Protection info type for this finding.
string info_type = 1;
Parameter
Name
Description
value
String The infoType to set.
setInfoTypeBytes(ByteString value)
public SdpFinding . Builder setInfoTypeBytes ( ByteString value )
Name of Sensitive Data Protection info type for this finding.
string info_type = 1;
Parameter
Name
Description
value
ByteString The bytes for infoType to set.
setLikelihood(SdpFindingLikelihood value)
public SdpFinding . Builder setLikelihood ( SdpFindingLikelihood value )
Identified confidence likelihood for info_type.
.google.cloud.modelarmor.v1beta.SdpFindingLikelihood likelihood = 2;
setLikelihoodValue(int value)
public SdpFinding . Builder setLikelihoodValue ( int value )
Identified confidence likelihood for info_type.
.google.cloud.modelarmor.v1beta.SdpFindingLikelihood likelihood = 2;
Parameter
Name
Description
value
int The enum numeric value on the wire for likelihood to set.
setLocation(SdpFinding.SdpFindingLocation value)
public SdpFinding . Builder setLocation ( SdpFinding . SdpFindingLocation value )
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
setLocation(SdpFinding.SdpFindingLocation.Builder builderForValue)
public SdpFinding . Builder setLocation ( SdpFinding . SdpFindingLocation . Builder builderForValue )
Location for this finding.
.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation location = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SdpFinding . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SdpFinding . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]