Class PrCurve (0.142.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.142.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  PrCurve   extends   GeneratedMessageV3   implements   PrCurveOrBuilder  
  Protobuf type google.cloud.datalabeling.v1beta1.PrCurve
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  ANNOTATION_SPEC_FIELD_NUMBER 
  
    
public   static   final   int   ANNOTATION_SPEC_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  AREA_UNDER_CURVE_FIELD_NUMBER 
  
    
public   static   final   int   AREA_UNDER_CURVE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER 
  
    
public   static   final   int   CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  MEAN_AVERAGE_PRECISION_FIELD_NUMBER 
  
    
public   static   final   int   MEAN_AVERAGE_PRECISION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   PrCurve   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   PrCurve . Builder   newBuilder ()  
  
  newBuilder(PrCurve prototype) 
  
    
public   static   PrCurve . Builder   newBuilder ( PrCurve   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypePrCurve  
     
  
  
  
    
public   static   PrCurve   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   PrCurve   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   PrCurve   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PrCurve   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   PrCurve   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PrCurve   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PrCurve   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   PrCurve   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PrCurve   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   PrCurve   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   PrCurve   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PrCurve   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<PrCurve>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getAnnotationSpec() 
  
    
public   AnnotationSpec   getAnnotationSpec ()  
   The annotation spec of the label for which the precision-recall curve
 calculated. If this field is empty, that means the precision-recall curve
 is an aggregate curve for all labels.
 .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAnnotationSpecOrBuilder() 
  
    
public   AnnotationSpecOrBuilder   getAnnotationSpecOrBuilder ()  
   The annotation spec of the label for which the precision-recall curve
 calculated. If this field is empty, that means the precision-recall curve
 is an aggregate curve for all labels.
 .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAreaUnderCurve() 
  
    
public   float   getAreaUnderCurve ()  
   Area under the precision-recall curve. Not to be confused with area under
 a receiver operating characteristic (ROC) curve.
 float area_under_curve = 2;
    
      
        Returns  
      
        Type Description  
      
        float The areaUnderCurve.
 
     
  
  getConfidenceMetricsEntries(int index) 
  
    
public   PrCurve . ConfidenceMetricsEntry   getConfidenceMetricsEntries ( int   index )  
   Entries that make up the precision-recall graph. Each entry is a "point" on
 the graph drawn for a different confidence_threshold.
 
 repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getConfidenceMetricsEntriesCount() 
  
    
public   int   getConfidenceMetricsEntriesCount ()  
   Entries that make up the precision-recall graph. Each entry is a "point" on
 the graph drawn for a different confidence_threshold.
 
 repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getConfidenceMetricsEntriesList() 
  
    
public   List<PrCurve . ConfidenceMetricsEntry >  getConfidenceMetricsEntriesList ()  
   Entries that make up the precision-recall graph. Each entry is a "point" on
 the graph drawn for a different confidence_threshold.
 
 repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3;
 
getConfidenceMetricsEntriesOrBuilder(int index) 
  
    
public   PrCurve . ConfidenceMetricsEntryOrBuilder   getConfidenceMetricsEntriesOrBuilder ( int   index )  
   Entries that make up the precision-recall graph. Each entry is a "point" on
 the graph drawn for a different confidence_threshold.
 
 repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getConfidenceMetricsEntriesOrBuilderList() 
  
    
public   List <?   extends   PrCurve . ConfidenceMetricsEntryOrBuilder >  getConfidenceMetricsEntriesOrBuilderList ()  
   Entries that make up the precision-recall graph. Each entry is a "point" on
 the graph drawn for a different confidence_threshold.
 
 repeated .google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry confidence_metrics_entries = 3;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntryOrBuilder > 
     
  
  getDefaultInstanceForType() 
  
    
public   PrCurve   getDefaultInstanceForType ()  
  
  getMeanAveragePrecision() 
  
    
public   float   getMeanAveragePrecision ()  
   Mean average prcision of this curve.
 float mean_average_precision = 4;
    
      
        Returns  
      
        Type Description  
      
        float The meanAveragePrecision.
 
     
  
  getParserForType() 
  
    
public   Parser<PrCurve>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hasAnnotationSpec() 
  
    
public   boolean   hasAnnotationSpec ()  
   The annotation spec of the label for which the precision-recall curve
 calculated. If this field is empty, that means the precision-recall curve
 is an aggregate curve for all labels.
 .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the annotationSpec field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   PrCurve . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   PrCurve . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   PrCurve . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]