Interface ThreatInfo.ThreatJustificationOrBuilder

    • Method Detail

      • getLabelsList

        List<ThreatInfo.ThreatJustification.JustificationLabel> getLabelsList()
         Labels associated with this URI that explain how it was classified.
         
        repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
        Returns:
        A list containing the labels.
      • getLabelsCount

        int getLabelsCount()
         Labels associated with this URI that explain how it was classified.
         
        repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
        Returns:
        The count of labels.
      • getLabels

        ThreatInfo.ThreatJustification.JustificationLabel getLabels​(int index)
         Labels associated with this URI that explain how it was classified.
         
        repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The labels at the given index.
      • getLabelsValueList

        List<Integer> getLabelsValueList()
         Labels associated with this URI that explain how it was classified.
         
        repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
        Returns:
        A list containing the enum numeric values on the wire for labels.
      • getLabelsValue

        int getLabelsValue​(int index)
         Labels associated with this URI that explain how it was classified.
         
        repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of labels at the given index.
      • getCommentsList

        List<String> getCommentsList()
         Free-form context on why this URI is unsafe.
         
        repeated string comments = 2;
        Returns:
        A list containing the comments.
      • getCommentsCount

        int getCommentsCount()
         Free-form context on why this URI is unsafe.
         
        repeated string comments = 2;
        Returns:
        The count of comments.
      • getComments

        String getComments​(int index)
         Free-form context on why this URI is unsafe.
         
        repeated string comments = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The comments at the given index.
      • getCommentsBytes

        com.google.protobuf.ByteString getCommentsBytes​(int index)
         Free-form context on why this URI is unsafe.
         
        repeated string comments = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the comments at the given index.