Interface ThreatInfoOrBuilder

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

    public interface ThreatInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getAbuseTypeValue

        int getAbuseTypeValue()
         The type of abuse.
         
        .google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;
        Returns:
        The enum numeric value on the wire for abuseType.
      • getAbuseType

        ThreatInfo.AbuseType getAbuseType()
         The type of abuse.
         
        .google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;
        Returns:
        The abuseType.
      • hasThreatConfidence

        boolean hasThreatConfidence()
         Confidence that the URI is unsafe.
         
        .google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;
        Returns:
        Whether the threatConfidence field is set.
      • getThreatConfidence

        ThreatInfo.Confidence getThreatConfidence()
         Confidence that the URI is unsafe.
         
        .google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;
        Returns:
        The threatConfidence.
      • getThreatConfidenceOrBuilder

        ThreatInfo.ConfidenceOrBuilder getThreatConfidenceOrBuilder()
         Confidence that the URI is unsafe.
         
        .google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;
      • hasThreatJustification

        boolean hasThreatJustification()
         Context about why the URI is unsafe.
         
        .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
        Returns:
        Whether the threatJustification field is set.
      • getThreatJustification

        ThreatInfo.ThreatJustification getThreatJustification()
         Context about why the URI is unsafe.
         
        .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
        Returns:
        The threatJustification.
      • getThreatJustificationOrBuilder

        ThreatInfo.ThreatJustificationOrBuilder getThreatJustificationOrBuilder()
         Context about why the URI is unsafe.
         
        .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;