Interface ConfusionMatrix.ConfusionMatrixEntryOrBuilder (0.162.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
Type Description
AnnotationSpec

The annotationSpec.

getAnnotationSpecOrBuilder()

public abstract AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()

The annotation spec of a predicted label.

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

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

The itemCount.

hasAnnotationSpec()

public abstract boolean hasAnnotationSpec()

The annotation spec of a predicted label.

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

Returns
Type Description
boolean

Whether the annotationSpec field is set.