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
Modifier and TypeMethodDescriptionThe annotation spec of the ground truth label for this row.The annotation spec of the ground truth label for this row.getEntries(int index) A list of the confusion matrix entries.intA list of the confusion matrix entries.A list of the confusion matrix entries.getEntriesOrBuilder(int index) A list of the confusion matrix entries.A list of the confusion matrix entries.booleanThe annotation spec of the ground truth label for this row.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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 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
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
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;
-