Interface ConfusionMatrix.RowOrBuilder (0.134.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the annotationSpec field is set.