Interface ConfusionMatrix.ConfusionMatrixEntryOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AnnotationSpec getAnnotationSpec()
      The annotation spec of a predicted label.
      AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
      The annotation spec of a predicted label.
      int getItemCount()
      Number of items predicted to have this label.
      boolean hasAnnotationSpec()
      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 Detail

      • 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.