Package com.google.webrisk.v1
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 TypeMethodDescriptiongetComments(int index) Free-form context on why this URI is unsafe.com.google.protobuf.ByteStringgetCommentsBytes(int index) Free-form context on why this URI is unsafe.intFree-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.intLabels associated with this URI that explain how it was classified.Labels associated with this URI that explain how it was classified.intgetLabelsValue(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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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
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.
-