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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
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
getCommentsCount()
Free-form context on why this URI is unsafe.List<String>
getCommentsList()
Free-form context on why this URI is unsafe.ThreatInfo.ThreatJustification.JustificationLabel
getLabels(int index)
Labels associated with this URI that explain how it was classified.int
getLabelsCount()
Labels associated with this URI that explain how it was classified.List<ThreatInfo.ThreatJustification.JustificationLabel>
getLabelsList()
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.List<Integer>
getLabelsValueList()
Labels associated with this URI that explain how it was classified.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-