- 0.173.0 (latest)
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class ConfusionMatrix.Builder extends GeneratedMessageV3.Builder<ConfusionMatrix.Builder> implements ConfusionMatrixOrBuilder
Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.
Protobuf type google.cloud.datalabeling.v1beta1.ConfusionMatrix
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConfusionMatrix.BuilderImplements
ConfusionMatrixOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllRow(Iterable<? extends ConfusionMatrix.Row> values)
public ConfusionMatrix.Builder addAllRow(Iterable<? extends ConfusionMatrix.Row> values)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row> |
Type | Description |
ConfusionMatrix.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfusionMatrix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConfusionMatrix.Builder |
addRow(ConfusionMatrix.Row value)
public ConfusionMatrix.Builder addRow(ConfusionMatrix.Row value)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
value | ConfusionMatrix.Row |
Type | Description |
ConfusionMatrix.Builder |
addRow(ConfusionMatrix.Row.Builder builderForValue)
public ConfusionMatrix.Builder addRow(ConfusionMatrix.Row.Builder builderForValue)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
builderForValue | ConfusionMatrix.Row.Builder |
Type | Description |
ConfusionMatrix.Builder |
addRow(int index, ConfusionMatrix.Row value)
public ConfusionMatrix.Builder addRow(int index, ConfusionMatrix.Row value)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
value | ConfusionMatrix.Row |
Type | Description |
ConfusionMatrix.Builder |
addRow(int index, ConfusionMatrix.Row.Builder builderForValue)
public ConfusionMatrix.Builder addRow(int index, ConfusionMatrix.Row.Builder builderForValue)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
builderForValue | ConfusionMatrix.Row.Builder |
Type | Description |
ConfusionMatrix.Builder |
addRowBuilder()
public ConfusionMatrix.Row.Builder addRowBuilder()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Type | Description |
ConfusionMatrix.Row.Builder |
addRowBuilder(int index)
public ConfusionMatrix.Row.Builder addRowBuilder(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
Type | Description |
ConfusionMatrix.Row.Builder |
build()
public ConfusionMatrix build()
Type | Description |
ConfusionMatrix |
buildPartial()
public ConfusionMatrix buildPartial()
Type | Description |
ConfusionMatrix |
clear()
public ConfusionMatrix.Builder clear()
Type | Description |
ConfusionMatrix.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConfusionMatrix.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConfusionMatrix.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfusionMatrix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConfusionMatrix.Builder |
clearRow()
public ConfusionMatrix.Builder clearRow()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Type | Description |
ConfusionMatrix.Builder |
clone()
public ConfusionMatrix.Builder clone()
Type | Description |
ConfusionMatrix.Builder |
getDefaultInstanceForType()
public ConfusionMatrix getDefaultInstanceForType()
Type | Description |
ConfusionMatrix |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRow(int index)
public ConfusionMatrix.Row getRow(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
Type | Description |
ConfusionMatrix.Row |
getRowBuilder(int index)
public ConfusionMatrix.Row.Builder getRowBuilder(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
Type | Description |
ConfusionMatrix.Row.Builder |
getRowBuilderList()
public List<ConfusionMatrix.Row.Builder> getRowBuilderList()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Type | Description |
List<Builder> |
getRowCount()
public int getRowCount()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Type | Description |
int |
getRowList()
public List<ConfusionMatrix.Row> getRowList()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Type | Description |
List<Row> |
getRowOrBuilder(int index)
public ConfusionMatrix.RowOrBuilder getRowOrBuilder(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
Type | Description |
ConfusionMatrix.RowOrBuilder |
getRowOrBuilderList()
public List<? extends ConfusionMatrix.RowOrBuilder> getRowOrBuilderList()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.ConfusionMatrix.RowOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ConfusionMatrix other)
public ConfusionMatrix.Builder mergeFrom(ConfusionMatrix other)
Name | Description |
other | ConfusionMatrix |
Type | Description |
ConfusionMatrix.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfusionMatrix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConfusionMatrix.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConfusionMatrix.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ConfusionMatrix.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfusionMatrix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConfusionMatrix.Builder |
removeRow(int index)
public ConfusionMatrix.Builder removeRow(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
Type | Description |
ConfusionMatrix.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConfusionMatrix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConfusionMatrix.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConfusionMatrix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ConfusionMatrix.Builder |
setRow(int index, ConfusionMatrix.Row value)
public ConfusionMatrix.Builder setRow(int index, ConfusionMatrix.Row value)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
value | ConfusionMatrix.Row |
Type | Description |
ConfusionMatrix.Builder |
setRow(int index, ConfusionMatrix.Row.Builder builderForValue)
public ConfusionMatrix.Builder setRow(int index, ConfusionMatrix.Row.Builder builderForValue)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Name | Description |
index | int |
builderForValue | ConfusionMatrix.Row.Builder |
Type | Description |
ConfusionMatrix.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfusionMatrix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConfusionMatrix.Builder |