Interface ThreatInfo.ThreatJustificationOrBuilder (2.40.0)

public static interface ThreatInfo.ThreatJustificationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComments(int index)

public abstract String getComments(int index)

Free-form context on why this URI is unsafe.

repeated string comments = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The comments at the given index.

getCommentsBytes(int index)

public abstract ByteString getCommentsBytes(int index)

Free-form context on why this URI is unsafe.

repeated string comments = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the comments at the given index.

getCommentsCount()

public abstract int getCommentsCount()

Free-form context on why this URI is unsafe.

repeated string comments = 2;

Returns
TypeDescription
int

The count of comments.

getCommentsList()

public abstract List<String> getCommentsList()

Free-form context on why this URI is unsafe.

repeated string comments = 2;

Returns
TypeDescription
List<String>

A list containing the comments.

getLabels(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ThreatInfo.ThreatJustification.JustificationLabel

The labels at the given index.

getLabelsCount()

public abstract int getLabelsCount()

Labels associated with this URI that explain how it was classified.

repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;

Returns
TypeDescription
int

The count of labels.

getLabelsList()

public abstract 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
TypeDescription
List<JustificationLabel>

A list containing the labels.

getLabelsValue(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of labels at the given index.

getLabelsValueList()

public abstract 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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for labels.