public interface LabelStatsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint 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;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;@Deprecated Map<String,Long> getExampleCount()
getExampleCountMap() instead.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;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;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;Copyright © 2019 Google LLC. All rights reserved.