Interface ConfusionMatrix.ConfusionMatrixEntryOrBuilder (0.126.0)

public static interface ConfusionMatrix.ConfusionMatrixEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationSpec()

public abstract AnnotationSpec getAnnotationSpec()

The annotation spec of a predicted label.

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

Returns
TypeDescription
AnnotationSpec

The annotationSpec.

getAnnotationSpecOrBuilder()

public abstract AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()

The annotation spec of a predicted label.

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

Returns
TypeDescription
AnnotationSpecOrBuilder

getItemCount()

public abstract int getItemCount()

Number of items predicted to have this label. (The ground truth label for these items is the Row.annotationSpec of this entry's parent.)

int32 item_count = 2;

Returns
TypeDescription
int

The itemCount.

hasAnnotationSpec()

public abstract boolean hasAnnotationSpec()

The annotation spec of a predicted label.

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

Returns
TypeDescription
boolean

Whether the annotationSpec field is set.