public interface ThreatDiscoveryOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPlatform()
public abstract ThreatDiscovery.Platform getPlatform()Platform on which the threat was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;
| Returns | |
|---|---|
| Type | Description |
ThreatDiscovery.Platform |
The platform. |
getPlatformValue()
public abstract int getPlatformValue()Platform on which the threat was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for platform. |
getRegionCodes(int index)
public abstract String getRegionCodes(int index)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
repeated string region_codes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The regionCodes at the given index. |
getRegionCodesBytes(int index)
public abstract ByteString getRegionCodesBytes(int index)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
repeated string region_codes = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the regionCodes at the given index. |
getRegionCodesCount()
public abstract int getRegionCodesCount()CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
repeated string region_codes = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of regionCodes. |
getRegionCodesList()
public abstract List<String> getRegionCodesList()CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
repeated string region_codes = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the regionCodes. |