# Interface SdpInspectResultOrBuilder (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 SdpInspectResultOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getExecutionState()

    public abstract FilterExecutionState getExecutionState()

Output only. Reports whether Sensitive Data Protection inspection was
successfully executed or not.

`
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.FilterExecutionState` | The executionState. |

### getExecutionStateValue()

    public abstract int getExecutionStateValue()

Output only. Reports whether Sensitive Data Protection inspection was
successfully executed or not.

`
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getFindings(int index)

    public abstract SdpFinding getFindings(int index)

List of Sensitive Data Protection findings.

`repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getFindingsCount()

    public abstract int getFindingsCount()

List of Sensitive Data Protection findings.

`repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getFindingsList()

    public abstract List<SdpFinding> getFindingsList()

List of Sensitive Data Protection findings.

`repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.SdpFinding>` |   |

### getFindingsOrBuilder(int index)

    public abstract SdpFindingOrBuilder getFindingsOrBuilder(int index)

List of Sensitive Data Protection findings.

`repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.SdpFindingOrBuilder` |   |

### getFindingsOrBuilderList()

    public abstract List<? extends SdpFindingOrBuilder> getFindingsOrBuilderList()

List of Sensitive Data Protection findings.

`repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.modelarmor.v1beta.SdpFindingOrBuilder>` |   |

### getFindingsTruncated()

    public abstract boolean getFindingsTruncated()

If true, then there is possibility that more findings were identified and
the findings returned are a 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.

`bool findings_truncated = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The findingsTruncated. |

### getMatchState()

    public abstract FilterMatchState getMatchState()

Output only. Match state for SDP Inspection.
Value is MATCH_FOUND if at least one Sensitive Data Protection finding is
identified.

`
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.FilterMatchState` | The matchState. |

### getMatchStateValue()

    public abstract int getMatchStateValue()

Output only. Match state for SDP Inspection.
Value is MATCH_FOUND if at least one Sensitive Data Protection finding is
identified.

`
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getMessageItems(int index)

    public abstract MessageItem getMessageItems(int index)

Optional messages corresponding to the result.
A message can provide warnings or error details.
For example, if execution state is skipped then this field provides
related reason/explanation.

`repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.MessageItem` |   |

### getMessageItemsCount()

    public abstract int getMessageItemsCount()

Optional messages corresponding to the result.
A message can provide warnings or error details.
For example, if execution state is skipped then this field provides
related reason/explanation.

`repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getMessageItemsList()

    public abstract List<MessageItem> getMessageItemsList()

Optional messages corresponding to the result.
A message can provide warnings or error details.
For example, if execution state is skipped then this field provides
related reason/explanation.

`repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.MessageItem>` |   |

### getMessageItemsOrBuilder(int index)

    public abstract MessageItemOrBuilder getMessageItemsOrBuilder(int index)

Optional messages corresponding to the result.
A message can provide warnings or error details.
For example, if execution state is skipped then this field provides
related reason/explanation.

`repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.MessageItemOrBuilder` |   |

### getMessageItemsOrBuilderList()

    public abstract List<? extends MessageItemOrBuilder> getMessageItemsOrBuilderList()

Optional messages corresponding to the result.
A message can provide warnings or error details.
For example, if execution state is skipped then this field provides
related reason/explanation.

`repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.modelarmor.v1beta.MessageItemOrBuilder>` |   |