# Interface MaliciousUriFilterResult.MaliciousUriMatchedItemOrBuilder (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 static interface MaliciousUriFilterResult.MaliciousUriMatchedItemOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getLocations(int index)

    public abstract RangeInfo getLocations(int index)

List of locations where Malicious URI is identified.
The `locations` field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8

`repeated .google.cloud.modelarmor.v1.RangeInfo locations = 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.v1.RangeInfo` |   |

### getLocationsCount()

    public abstract int getLocationsCount()

List of locations where Malicious URI is identified.
The `locations` field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8

`repeated .google.cloud.modelarmor.v1.RangeInfo locations = 2;`

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

### getLocationsList()

    public abstract List<RangeInfo> getLocationsList()

List of locations where Malicious URI is identified.
The `locations` field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8

`repeated .google.cloud.modelarmor.v1.RangeInfo locations = 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.v1.RangeInfo>` |   |

### getLocationsOrBuilder(int index)

    public abstract RangeInfoOrBuilder getLocationsOrBuilder(int index)

List of locations where Malicious URI is identified.
The `locations` field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8

`repeated .google.cloud.modelarmor.v1.RangeInfo locations = 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.v1.RangeInfoOrBuilder` |   |

### getLocationsOrBuilderList()

    public abstract List<? extends RangeInfoOrBuilder> getLocationsOrBuilderList()

List of locations where Malicious URI is identified.
The `locations` field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8

`repeated .google.cloud.modelarmor.v1.RangeInfo locations = 2;`

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

### getUri()

    public abstract String getUri()

Malicious URI.

`string uri = 1;`

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

### getUriBytes()

    public abstract ByteString getUriBytes()

Malicious URI.

`string uri = 1;`

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