public static final class ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row extends GeneratedMessageV3 implements ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder
Output only. A row in the confusion matrix.
Protobuf type
google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row
Static Fields
EXAMPLE_COUNT_FIELD_NUMBER
public static final int EXAMPLE_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilder()
Returns
newBuilder(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row prototype)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilder(ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row prototype)
Parameter
Returns
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row getDefaultInstanceForType()
Returns
getExampleCount(int index)
public 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 field.
repeated int32 example_count = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
int | The exampleCount at the given index.
|
getExampleCountCount()
public 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 field.
repeated int32 example_count = 1;
Returns
Type | Description |
int | The count of exampleCount.
|
getExampleCountList()
public 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 field.
repeated int32 example_count = 1;
Returns
Type | Description |
List<Integer> | A list containing the exampleCount.
|
getParserForType()
public Parser<ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ClassificationProto.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions