Interface ConfusionMatrix.ConfusionMatrixEntryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ConfusionMatrix.ConfusionMatrixEntry, ConfusionMatrix.ConfusionMatrixEntry.Builder
Enclosing class:
ConfusionMatrix

public static interface ConfusionMatrix.ConfusionMatrixEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The annotation spec of a predicted label.
    The annotation spec of a predicted label.
    int
    Number of items predicted to have this label.
    boolean
    The annotation spec of a predicted label.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasAnnotationSpec

      boolean hasAnnotationSpec()
       The annotation spec of a predicted label.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      Returns:
      Whether the annotationSpec field is set.
    • getAnnotationSpec

      AnnotationSpec getAnnotationSpec()
       The annotation spec of a predicted label.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      Returns:
      The annotationSpec.
    • getAnnotationSpecOrBuilder

      AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
       The annotation spec of a predicted label.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
    • getItemCount

      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:
      The itemCount.