Interface ConfusionMatrix.RowOrBuilder (0.169.0)

public static interface ConfusionMatrix.RowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationSpec()

public abstract AnnotationSpec getAnnotationSpec()

The annotation spec of the ground truth label for this row.

.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;

Returns
Type Description
AnnotationSpec

The annotationSpec.

getAnnotationSpecOrBuilder()

public abstract AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()

The annotation spec of the ground truth label for this row.

.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;

Returns
Type Description
AnnotationSpecOrBuilder

getEntries(int index)

public abstract ConfusionMatrix.ConfusionMatrixEntry getEntries(int index)

A list of the confusion matrix entries. One entry for each possible predicted label.

repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;

Parameter
Name Description
index int
Returns
Type Description
ConfusionMatrix.ConfusionMatrixEntry

getEntriesCount()

public abstract int getEntriesCount()

A list of the confusion matrix entries. One entry for each possible predicted label.

repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;

Returns
Type Description
int

getEntriesList()

public abstract List<ConfusionMatrix.ConfusionMatrixEntry> getEntriesList()

A list of the confusion matrix entries. One entry for each possible predicted label.

repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;

Returns
Type Description
List<ConfusionMatrixEntry>

getEntriesOrBuilder(int index)

public abstract ConfusionMatrix.ConfusionMatrixEntryOrBuilder getEntriesOrBuilder(int index)

A list of the confusion matrix entries. One entry for each possible predicted label.

repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;

Parameter
Name Description
index int
Returns
Type Description
ConfusionMatrix.ConfusionMatrixEntryOrBuilder

getEntriesOrBuilderList()

public abstract List<? extends ConfusionMatrix.ConfusionMatrixEntryOrBuilder> getEntriesOrBuilderList()

A list of the confusion matrix entries. One entry for each possible predicted label.

repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;

Returns
Type Description
List<? extends com.google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntryOrBuilder>

hasAnnotationSpec()

public abstract boolean hasAnnotationSpec()

The annotation spec of the ground truth label for this row.

.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;

Returns
Type Description
boolean

Whether the annotationSpec field is set.