Package com.google.webrisk.v1
Interface ThreatDiscoveryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThreatDiscovery,ThreatDiscovery.Builder
@Generated
public interface ThreatDiscoveryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPlatform on which the threat was discovered.intPlatform on which the threat was discovered.getRegionCodes(int index) CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact.com.google.protobuf.ByteStringgetRegionCodesBytes(int index) CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact.intCLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact.CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPlatformValue
int getPlatformValue()Platform on which the threat was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;- Returns:
- The enum numeric value on the wire for platform.
-
getPlatform
ThreatDiscovery.Platform getPlatform()Platform on which the threat was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;- Returns:
- The platform.
-
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:
- A list containing the regionCodes.
-
getRegionCodesCount
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:
- The count of regionCodes.
-
getRegionCodes
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;- Parameters:
index- The index of the element to return.- Returns:
- The regionCodes at the given index.
-
getRegionCodesBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the regionCodes at the given index.
-