- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row> |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfusionMatrix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
addRow(ConfusionMatrix.Row value)
public ConfusionMatrix.Builder addRow(ConfusionMatrix.Row value)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Parameter | |
---|---|
Name | Description |
value | ConfusionMatrix.Row |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ConfusionMatrix.Row.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ConfusionMatrix.Row |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ConfusionMatrix.Row.Builder |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
addRowBuilder()
public ConfusionMatrix.Row.Builder addRowBuilder()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Row.Builder |
addRowBuilder(int index)
public ConfusionMatrix.Row.Builder addRowBuilder(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Row.Builder |
build()
public ConfusionMatrix build()
Returns | |
---|---|
Type | Description |
ConfusionMatrix |
buildPartial()
public ConfusionMatrix buildPartial()
Returns | |
---|---|
Type | Description |
ConfusionMatrix |
clear()
public ConfusionMatrix.Builder clear()
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConfusionMatrix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfusionMatrix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
clearRow()
public ConfusionMatrix.Builder clearRow()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
clone()
public ConfusionMatrix.Builder clone()
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
getDefaultInstanceForType()
public ConfusionMatrix getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConfusionMatrix |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRow(int index)
public ConfusionMatrix.Row getRow(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Row |
getRowBuilder(int index)
public ConfusionMatrix.Row.Builder getRowBuilder(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Row.Builder |
getRowBuilderList()
public List<ConfusionMatrix.Row.Builder> getRowBuilderList()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getRowCount()
public int getRowCount()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Returns | |
---|---|
Type | Description |
int |
getRowList()
public List<ConfusionMatrix.Row> getRowList()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Returns | |
---|---|
Type | Description |
List<Row> |
getRowOrBuilder(int index)
public ConfusionMatrix.RowOrBuilder getRowOrBuilder(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.RowOrBuilder |
getRowOrBuilderList()
public List<? extends ConfusionMatrix.RowOrBuilder> getRowOrBuilderList()
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.ConfusionMatrix.RowOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ConfusionMatrix other)
public ConfusionMatrix.Builder mergeFrom(ConfusionMatrix other)
Parameter | |
---|---|
Name | Description |
other | ConfusionMatrix |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfusionMatrix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConfusionMatrix.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfusionMatrix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
removeRow(int index)
public ConfusionMatrix.Builder removeRow(int index)
repeated .google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row row = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConfusionMatrix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConfusionMatrix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ConfusionMatrix.Row |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ConfusionMatrix.Row.Builder |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfusionMatrix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConfusionMatrix.Builder |