Package com.google.cloud.automl.v1beta1
Interface TimestampStats.GranularStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimestampStats.GranularStats
,TimestampStats.GranularStats.Builder
- Enclosing class:
- TimestampStats
public static interface TimestampStats.GranularStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsBuckets(int key)
A map from granularity key to example count for that key.Map<Integer,Long>
getBuckets()
Deprecated.int
getBucketsCount()
A map from granularity key to example count for that key.Map<Integer,Long>
getBucketsMap()
A map from granularity key to example count for that key.long
getBucketsOrDefault(int key, long defaultValue)
A map from granularity key to example count for that key.long
getBucketsOrThrow(int key)
A map from granularity key to example count for that key.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBucketsCount
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;
-
containsBuckets
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;
-
getBuckets
@Deprecated Map<Integer,Long> getBuckets()
Deprecated.UsegetBucketsMap()
instead.
-
getBucketsMap
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;
-
getBucketsOrDefault
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;
-
getBucketsOrThrow
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;
-
-