Interface ThreatInfo.ThreatJustificationOrBuilder (2.51.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
List<Integer>

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