Interface ThreatInfo.ThreatJustificationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ThreatInfo.ThreatJustification, ThreatInfo.ThreatJustification.Builder
Enclosing class:
ThreatInfo

public static interface ThreatInfo.ThreatJustificationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getComments(int index)
    Free-form context on why this URI is unsafe.
    com.google.protobuf.ByteString
    getCommentsBytes(int index)
    Free-form context on why this URI is unsafe.
    int
    Free-form context on why this URI is unsafe.
    Free-form context on why this URI is unsafe.
    getLabels(int index)
    Labels associated with this URI that explain how it was classified.
    int
    Labels associated with this URI that explain how it was classified.
    Labels associated with this URI that explain how it was classified.
    int
    getLabelsValue(int index)
    Labels associated with this URI that explain how it was classified.
    Labels associated with this URI that explain how it was classified.

    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

    • 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

       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.