Interface ConfusionMatrix.RowOrBuilder

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

public static interface ConfusionMatrix.RowOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAnnotationSpec

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

      AnnotationSpec getAnnotationSpec()
       The annotation spec of the ground truth label for this row.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      Returns:
      The annotationSpec.
    • getAnnotationSpecOrBuilder

      AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
       The annotation spec of the ground truth label for this row.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
    • getEntriesList

       A list of the confusion matrix entries. One entry for each possible
       predicted label.
       
      repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;
    • getEntries

      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;
    • getEntriesCount

      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;
    • getEntriesOrBuilderList

      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;
    • getEntriesOrBuilder

      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;