Class ConfusionMatrix.Row.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfusionMatrix.Row.Builder>
com.google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row.Builder
- All Implemented Interfaces:
ConfusionMatrix.RowOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConfusionMatrix.Row
public static final class ConfusionMatrix.Row.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConfusionMatrix.Row.Builder>
implements ConfusionMatrix.RowOrBuilder
A row in the confusion matrix. Each entry in this row has the same ground truth label.Protobuf type
google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntries(Iterable<? extends ConfusionMatrix.ConfusionMatrixEntry> values) A list of the confusion matrix entries.addEntries(int index, ConfusionMatrix.ConfusionMatrixEntry value) A list of the confusion matrix entries.addEntries(int index, ConfusionMatrix.ConfusionMatrixEntry.Builder builderForValue) A list of the confusion matrix entries.A list of the confusion matrix entries.addEntries(ConfusionMatrix.ConfusionMatrixEntry.Builder builderForValue) A list of the confusion matrix entries.A list of the confusion matrix entries.addEntriesBuilder(int index) A list of the confusion matrix entries.build()clear()The annotation spec of the ground truth label for this row.A list of the confusion matrix entries.The annotation spec of the ground truth label for this row.The annotation spec of the ground truth label for this row.The annotation spec of the ground truth label for this row.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntries(int index) A list of the confusion matrix entries.getEntriesBuilder(int index) A list of the confusion matrix entries.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe annotation spec of the ground truth label for this row.mergeFrom(ConfusionMatrix.Row other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeEntries(int index) A list of the confusion matrix entries.setAnnotationSpec(AnnotationSpec value) The annotation spec of the ground truth label for this row.setAnnotationSpec(AnnotationSpec.Builder builderForValue) The annotation spec of the ground truth label for this row.setEntries(int index, ConfusionMatrix.ConfusionMatrixEntry value) A list of the confusion matrix entries.setEntries(int index, ConfusionMatrix.ConfusionMatrixEntry.Builder builderForValue) A list of the confusion matrix entries.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConfusionMatrix.Row.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConfusionMatrix.Row.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConfusionMatrix.Row.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfusionMatrix.Row.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfusionMatrix.Row.Builder>
-
mergeFrom
public ConfusionMatrix.Row.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfusionMatrix.Row.Builder>- Throws:
IOException
-
hasAnnotationSpec
public boolean hasAnnotationSpec()The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Specified by:
hasAnnotationSpecin interfaceConfusionMatrix.RowOrBuilder- Returns:
- Whether the annotationSpec field is set.
-
getAnnotationSpec
The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Specified by:
getAnnotationSpecin interfaceConfusionMatrix.RowOrBuilder- Returns:
- The annotationSpec.
-
setAnnotationSpec
The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1; -
setAnnotationSpec
The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1; -
mergeAnnotationSpec
The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1; -
clearAnnotationSpec
The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1; -
getAnnotationSpecBuilder
The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1; -
getAnnotationSpecOrBuilder
The annotation spec of the ground truth label for this row.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Specified by:
getAnnotationSpecOrBuilderin interfaceConfusionMatrix.RowOrBuilder
-
getEntriesList
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;- Specified by:
getEntriesListin interfaceConfusionMatrix.RowOrBuilder
-
getEntriesCount
public 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;- Specified by:
getEntriesCountin interfaceConfusionMatrix.RowOrBuilder
-
getEntries
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;- Specified by:
getEntriesin interfaceConfusionMatrix.RowOrBuilder
-
setEntries
public ConfusionMatrix.Row.Builder setEntries(int index, ConfusionMatrix.ConfusionMatrixEntry value) A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
setEntries
public ConfusionMatrix.Row.Builder setEntries(int index, ConfusionMatrix.ConfusionMatrixEntry.Builder builderForValue) A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
addEntries
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
addEntries
public ConfusionMatrix.Row.Builder addEntries(int index, ConfusionMatrix.ConfusionMatrixEntry value) A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
addEntries
public ConfusionMatrix.Row.Builder addEntries(ConfusionMatrix.ConfusionMatrixEntry.Builder builderForValue) A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
addEntries
public ConfusionMatrix.Row.Builder addEntries(int index, ConfusionMatrix.ConfusionMatrixEntry.Builder builderForValue) A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
addAllEntries
public ConfusionMatrix.Row.Builder addAllEntries(Iterable<? extends ConfusionMatrix.ConfusionMatrixEntry> values) A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
clearEntries
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
removeEntries
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
getEntriesBuilder
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;- Specified by:
getEntriesOrBuilderin interfaceConfusionMatrix.RowOrBuilder
-
getEntriesOrBuilderList
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;- Specified by:
getEntriesOrBuilderListin interfaceConfusionMatrix.RowOrBuilder
-
addEntriesBuilder
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
addEntriesBuilder
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2; -
getEntriesBuilderList
A list of the confusion matrix entries. One entry for each possible predicted label.
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry entries = 2;
-