Interface LabelStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LabelStats
,LabelStats.Builder
public interface LabelStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsExampleCount(String key)
Map of each annotation spec's example count.Map<String,Long>
getExampleCount()
Deprecated.int
getExampleCountCount()
Map of each annotation spec's example count.Map<String,Long>
getExampleCountMap()
Map of each annotation spec's example count.long
getExampleCountOrDefault(String key, long defaultValue)
Map of each annotation spec's example count.long
getExampleCountOrThrow(String key)
Map of each annotation spec's example count.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.UsegetExampleCountMap()
instead.
-
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;
-
-