Package com.google.cloud.automl.v1beta1
Class ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
- com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder
-
- All Implemented Interfaces:
ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix
public static final class ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder> implements ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
Confusion matrix of the model running the classification.
Protobuf typegoogle.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
clear
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
getDefaultInstanceForType
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
setField
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
clearField
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
clearOneof
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
setRepeatedField
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
addRepeatedField
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder mergeFrom(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeFrom
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
- Throws:
IOException
-
getAnnotationSpecIdList
public com.google.protobuf.ProtocolStringList getAnnotationSpecIdList()
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Specified by:
getAnnotationSpecIdList
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Returns:
- A list containing the annotationSpecId.
-
getAnnotationSpecIdCount
public int getAnnotationSpecIdCount()
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Specified by:
getAnnotationSpecIdCount
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Returns:
- The count of annotationSpecId.
-
getAnnotationSpecId
public String getAnnotationSpecId(int index)
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Specified by:
getAnnotationSpecId
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The annotationSpecId at the given index.
-
getAnnotationSpecIdBytes
public com.google.protobuf.ByteString getAnnotationSpecIdBytes(int index)
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Specified by:
getAnnotationSpecIdBytes
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the annotationSpecId at the given index.
-
setAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setAnnotationSpecId(int index, String value)
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Parameters:
index
- The index to set the value at.value
- The annotationSpecId to set.- Returns:
- This builder for chaining.
-
addAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAnnotationSpecId(String value)
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Parameters:
value
- The annotationSpecId to add.- Returns:
- This builder for chaining.
-
addAllAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAllAnnotationSpecId(Iterable<String> values)
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Parameters:
values
- The annotationSpecId to add.- Returns:
- This builder for chaining.
-
clearAnnotationSpecId
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clearAnnotationSpecId()
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Returns:
- This builder for chaining.
-
addAnnotationSpecIdBytes
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAnnotationSpecIdBytes(com.google.protobuf.ByteString value)
Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
- Parameters:
value
- The bytes of the annotationSpecId to add.- Returns:
- This builder for chaining.
-
getDisplayNameList
public com.google.protobuf.ProtocolStringList getDisplayNameList()
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Specified by:
getDisplayNameList
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Returns:
- A list containing the displayName.
-
getDisplayNameCount
public int getDisplayNameCount()
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Specified by:
getDisplayNameCount
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Returns:
- The count of displayName.
-
getDisplayName
public String getDisplayName(int index)
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Specified by:
getDisplayName
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The displayName at the given index.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes(int index)
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Specified by:
getDisplayNameBytes
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the displayName at the given index.
-
setDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setDisplayName(int index, String value)
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Parameters:
index
- The index to set the value at.value
- The displayName to set.- Returns:
- This builder for chaining.
-
addDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addDisplayName(String value)
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Parameters:
value
- The displayName to add.- Returns:
- This builder for chaining.
-
addAllDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAllDisplayName(Iterable<String> values)
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Parameters:
values
- The displayName to add.- Returns:
- This builder for chaining.
-
clearDisplayName
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clearDisplayName()
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Returns:
- This builder for chaining.
-
addDisplayNameBytes
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.
repeated string display_name = 3;
- Parameters:
value
- The bytes of the displayName to add.- Returns:
- This builder for chaining.
-
getRowList
public List<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row> getRowList()
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
- Specified by:
getRowList
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
getRowCount
public int getRowCount()
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
- Specified by:
getRowCount
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
getRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row getRow(int index)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
- Specified by:
getRow
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
setRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row value)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
setRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row value)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row value)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
addRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addRow(int index, ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder builderForValue)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
addAllRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder addAllRow(Iterable<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row> values)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
clearRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder clearRow()
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
removeRow
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder removeRow(int index)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
getRowBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder getRowBuilder(int index)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
getRowOrBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder getRowOrBuilder(int index)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
- Specified by:
getRowOrBuilder
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
getRowOrBuilderList
public List<? extends ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder> getRowOrBuilderList()
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
- Specified by:
getRowOrBuilderList
in interfaceClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
-
addRowBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder addRowBuilder()
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
addRowBuilder
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder addRowBuilder(int index)
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
getRowBuilderList
public List<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder> getRowBuilderList()
Output only. Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id`. `row[i].example_count[j]` is the number of examples that have ground truth of the `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by the model being evaluated.
repeated .google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
-
setUnknownFields
public final ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
mergeUnknownFields
public final ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Builder>
-
-