Interface ThreatDiscoveryOrBuilder (2.31.0)

public interface ThreatDiscoveryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPlatform()

public abstract ThreatDiscovery.Platform getPlatform()

Platform on which the threat was discovered.

.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the regionCodes.