Interface LabelStatsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LabelStats, LabelStats.Builder

@Generated public interface LabelStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Map of each annotation spec's example count.
    Deprecated.
    int
    Map of each annotation spec's example count.
    Map of each annotation spec's example count.
    long
    getExampleCountOrDefault(String key, long defaultValue)
    Map of each annotation spec's example count.
    long
    Map of each annotation spec's example count.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getExampleCountCount

      int getExampleCountCount()
       Map of each annotation spec's example count. Key is the annotation spec
       name and value is the number of examples for that annotation spec.
       If the annotated dataset does not have annotation spec, the map will return
       a pair where the key is empty string and value is the total number of
       annotations.
       
      map<string, int64> example_count = 1;
    • containsExampleCount

      boolean containsExampleCount(String key)
       Map of each annotation spec's example count. Key is the annotation spec
       name and value is the number of examples for that annotation spec.
       If the annotated dataset does not have annotation spec, the map will return
       a pair where the key is empty string and value is the total number of
       annotations.
       
      map<string, int64> example_count = 1;
    • getExampleCount

      @Deprecated Map<String,Long> getExampleCount()
      Deprecated.
    • getExampleCountMap

      Map<String,Long> getExampleCountMap()
       Map of each annotation spec's example count. Key is the annotation spec
       name and value is the number of examples for that annotation spec.
       If the annotated dataset does not have annotation spec, the map will return
       a pair where the key is empty string and value is the total number of
       annotations.
       
      map<string, int64> example_count = 1;
    • getExampleCountOrDefault

      long getExampleCountOrDefault(String key, long defaultValue)
       Map of each annotation spec's example count. Key is the annotation spec
       name and value is the number of examples for that annotation spec.
       If the annotated dataset does not have annotation spec, the map will return
       a pair where the key is empty string and value is the total number of
       annotations.
       
      map<string, int64> example_count = 1;
    • getExampleCountOrThrow

      long getExampleCountOrThrow(String key)
       Map of each annotation spec's example count. Key is the annotation spec
       name and value is the number of examples for that annotation spec.
       If the annotated dataset does not have annotation spec, the map will return
       a pair where the key is empty string and value is the total number of
       annotations.
       
      map<string, int64> example_count = 1;