public static interface TimestampStats.GranularStatsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsBuckets(int key)
public abstract boolean containsBuckets(int key) A map from granularity key to example count for that key.
E.g. for hour_of_day 13 means 1pm, or for month_of_year 5 means May).
map<int32, int64> buckets = 1;
| Name | Description |
| key | int |
| Type | Description |
| boolean |
getBuckets()
public abstract Map<Integer,Long> getBuckets()Use #getBucketsMap() instead.
| Type | Description |
| Map<Integer,java.lang.Long> |
getBucketsCount()
public abstract int getBucketsCount() A map from granularity key to example count for that key.
E.g. for hour_of_day 13 means 1pm, or for month_of_year 5 means May).
map<int32, int64> buckets = 1;
| Type | Description |
| int |
getBucketsMap()
public abstract Map<Integer,Long> getBucketsMap() A map from granularity key to example count for that key.
E.g. for hour_of_day 13 means 1pm, or for month_of_year 5 means May).
map<int32, int64> buckets = 1;
| Type | Description |
| Map<Integer,java.lang.Long> |
getBucketsOrDefault(int key, long defaultValue)
public abstract long getBucketsOrDefault(int key, long defaultValue) A map from granularity key to example count for that key.
E.g. for hour_of_day 13 means 1pm, or for month_of_year 5 means May).
map<int32, int64> buckets = 1;
| Name | Description |
| key | int |
| defaultValue | long |
| Type | Description |
| long |
getBucketsOrThrow(int key)
public abstract long getBucketsOrThrow(int key) A map from granularity key to example count for that key.
E.g. for hour_of_day 13 means 1pm, or for month_of_year 5 means May).
map<int32, int64> buckets = 1;
| Name | Description |
| key | int |
| Type | Description |
| long |