public static final class ClassificationEvaluationMetrics.ConfusionMatrix.Row extends GeneratedMessageV3 implements ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder
Output only. A row in the confusion matrix.
Protobuf type
google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXAMPLE_COUNT_FIELD_NUMBER
public static final int EXAMPLE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilder()
newBuilder(ClassificationEvaluationMetrics.ConfusionMatrix.Row prototype)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilder(ClassificationEvaluationMetrics.ConfusionMatrix.Row prototype)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseDelimitedFrom(InputStream input)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(CodedInputStream input)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(InputStream input)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClassificationEvaluationMetrics.ConfusionMatrix.Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClassificationEvaluationMetrics.ConfusionMatrix.Row> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ClassificationEvaluationMetrics.ConfusionMatrix.Row getDefaultInstanceForType()
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<ClassificationEvaluationMetrics.ConfusionMatrix.Row> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides