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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationSpecgetAnnotationSpec()The annotation spec of the ground truth label for this row.AnnotationSpecOrBuildergetAnnotationSpecOrBuilder()The annotation spec of the ground truth label for this row.ConfusionMatrix.ConfusionMatrixEntrygetEntries(int index)A list of the confusion matrix entries.intgetEntriesCount()A list of the confusion matrix entries.List<ConfusionMatrix.ConfusionMatrixEntry>getEntriesList()A list of the confusion matrix entries.ConfusionMatrix.ConfusionMatrixEntryOrBuildergetEntriesOrBuilder(int index)A list of the confusion matrix entries.List<? extends ConfusionMatrix.ConfusionMatrixEntryOrBuilder>getEntriesOrBuilderList()A list of the confusion matrix entries.booleanhasAnnotationSpec()The annotation spec of the ground truth label for this row.-
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 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
List<ConfusionMatrix.ConfusionMatrixEntry> 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;
-
-