Interface ThreatDiscoveryOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ThreatDiscovery, ThreatDiscovery.Builder

    public interface ThreatDiscoveryOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ThreatDiscovery.Platform getPlatform()
      Platform on which the threat was discovered.
      int getPlatformValue()
      Platform on which the threat was discovered.
      String 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.ByteString getRegionCodesBytes​(int index)
      CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact.
      int getRegionCodesCount()
      CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact.
      List<String> getRegionCodesList()
      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

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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

        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:
        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

        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;
        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.