# Interface SdpFindingOrBuilder (0.34.0)

0.34.0 (latest) 0.32.0 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 interface SdpFindingOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getInfoType()

    public abstract String getInfoType()

Name of Sensitive Data Protection info type for this finding.

`string info_type = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The infoType. |

### getInfoTypeBytes()

    public abstract ByteString getInfoTypeBytes()

Name of Sensitive Data Protection info type for this finding.

`string info_type = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for infoType. |

### getLikelihood()

    public abstract SdpFindingLikelihood getLikelihood()

Identified confidence likelihood for `info_type`.

`.google.cloud.modelarmor.v1.SdpFindingLikelihood likelihood = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1.SdpFindingLikelihood` | The likelihood. |

### getLikelihoodValue()

    public abstract int getLikelihoodValue()

Identified confidence likelihood for `info_type`.

`.google.cloud.modelarmor.v1.SdpFindingLikelihood likelihood = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for likelihood. |

### getLocation()

    public abstract SdpFinding.SdpFindingLocation getLocation()

Location for this finding.

`.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation location = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation` | The location. |

### getLocationOrBuilder()

    public abstract SdpFinding.SdpFindingLocationOrBuilder getLocationOrBuilder()

Location for this finding.

`.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation location = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocationOrBuilder` |   |

### hasLocation()

    public abstract boolean hasLocation()

Location for this finding.

`.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation location = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the location field is set. |