public static final class ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder> implements ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder
Output only. A row in the confusion matrix.Protobuf type
google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.RowgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClassificationEvaluationMetrics.ConfusionMatrix.Row build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClassificationEvaluationMetrics.ConfusionMatrix.Row buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder mergeFrom(ClassificationEvaluationMetrics.ConfusionMatrix.Row other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>IOExceptionpublic List<Integer> getExampleCountList()
Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
repeated int32 example_count = 1;getExampleCountList in interface ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilderpublic int getExampleCountCount()
Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
repeated int32 example_count = 1;getExampleCountCount in interface ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilderpublic int getExampleCount(int index)
Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
repeated int32 example_count = 1;getExampleCount in interface ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilderindex - The index of the element to return.public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder setExampleCount(int index, int value)
Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
repeated int32 example_count = 1;index - The index to set the value at.value - The exampleCount to set.public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder addExampleCount(int value)
Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
repeated int32 example_count = 1;value - The exampleCount to add.public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder addAllExampleCount(Iterable<? extends Integer> values)
Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
repeated int32 example_count = 1;values - The exampleCount to add.public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder clearExampleCount()
Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
repeated int32 example_count = 1;public final ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>public final ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder>Copyright © 2025 Google LLC. All rights reserved.