Send feedback
Class ConfusionMatrix.ConfusionMatrixEntry.Builder (0.148.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.148.0 keyboard_arrow_down
public static final class ConfusionMatrix . ConfusionMatrixEntry . Builder extends GeneratedMessageV3 . Builder<ConfusionMatrix . ConfusionMatrixEntry . Builder > implements ConfusionMatrix . ConfusionMatrixEntryOrBuilder
Protobuf type google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfusionMatrix . ConfusionMatrixEntry . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ConfusionMatrix . ConfusionMatrixEntry build ()
buildPartial()
public ConfusionMatrix . ConfusionMatrixEntry buildPartial ()
clear()
public ConfusionMatrix . ConfusionMatrixEntry . Builder clear ()
Overrides
clearAnnotationSpec()
public ConfusionMatrix . ConfusionMatrixEntry . Builder clearAnnotationSpec ()
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
clearField(Descriptors.FieldDescriptor field)
public ConfusionMatrix . ConfusionMatrixEntry . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearItemCount()
public ConfusionMatrix . ConfusionMatrixEntry . Builder clearItemCount ()
Number of items predicted to have this label. (The ground truth label for
these items is the Row.annotationSpec
of this entry's parent.)
int32 item_count = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfusionMatrix . ConfusionMatrixEntry . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ConfusionMatrix . ConfusionMatrixEntry . Builder clone ()
Overrides
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec ()
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAnnotationSpecBuilder()
public AnnotationSpec . Builder getAnnotationSpecBuilder ()
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder ()
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getDefaultInstanceForType()
public ConfusionMatrix . ConfusionMatrixEntry getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getItemCount()
public int getItemCount ()
Number of items predicted to have this label. (The ground truth label for
these items is the Row.annotationSpec
of this entry's parent.)
int32 item_count = 2;
Returns Type Description int
The itemCount.
hasAnnotationSpec()
public boolean hasAnnotationSpec ()
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns Type Description boolean
Whether the annotationSpec field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeAnnotationSpec(AnnotationSpec value)
public ConfusionMatrix . ConfusionMatrixEntry . Builder mergeAnnotationSpec ( AnnotationSpec value )
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
mergeFrom(ConfusionMatrix.ConfusionMatrixEntry other)
public ConfusionMatrix . ConfusionMatrixEntry . Builder mergeFrom ( ConfusionMatrix . ConfusionMatrixEntry other )
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfusionMatrix . ConfusionMatrixEntry . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ConfusionMatrix . ConfusionMatrixEntry . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfusionMatrix . ConfusionMatrixEntry . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAnnotationSpec(AnnotationSpec value)
public ConfusionMatrix . ConfusionMatrixEntry . Builder setAnnotationSpec ( AnnotationSpec value )
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
public ConfusionMatrix . ConfusionMatrixEntry . Builder setAnnotationSpec ( AnnotationSpec . Builder builderForValue )
The annotation spec of a predicted label.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ConfusionMatrix . ConfusionMatrixEntry . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setItemCount(int value)
public ConfusionMatrix . ConfusionMatrixEntry . Builder setItemCount ( int value )
Number of items predicted to have this label. (The ground truth label for
these items is the Row.annotationSpec
of this entry's parent.)
int32 item_count = 2;
Parameter Name Description value
int
The itemCount to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConfusionMatrix . ConfusionMatrixEntry . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfusionMatrix . ConfusionMatrixEntry . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]