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 Type
    Method
    Description
    Platform on which the threat was discovered.
    int
    Platform 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.ByteString
    CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact.
    int
    CLDR 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

    isInitialized

    Methods 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

       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.