public static interface MaliciousUriFilterResult.MaliciousUriMatchedItemOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 |
int |
| Returns | |
|---|---|
| Type | Description |
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 |
int |
|
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 |
List<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 |
int |
| Returns | |
|---|---|
| Type | Description |
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 |
List<? extends com.google.cloud.modelarmor.v1.RangeInfoOrBuilder> |
|
getUri()
public abstract String getUri()Malicious URI.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()Malicious URI.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |