- 0.175.0 (latest)
- 0.174.0
- 0.173.0
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public interface LabelStatsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsExampleCount(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getExampleCount() (deprecated)
public abstract Map<String,Long> getExampleCount()
Use #getExampleCountMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,java.lang.Long> |
getExampleCountCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getExampleCountMap()
public abstract 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;
Returns | |
---|---|
Type | Description |
Map<String,java.lang.Long> |
getExampleCountOrDefault(String key, long defaultValue)
public abstract 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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
long |
Returns | |
---|---|
Type | Description |
long |
getExampleCountOrThrow(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
long |