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
Modifier and TypeMethodDescriptionbooleancontainsBuckets(int key) A map from granularity key to example count for that key.Deprecated.intA map from granularity key to example count for that key.A map from granularity key to example count for that key.longgetBucketsOrDefault(int key, long defaultValue) A map from granularity key to example count for that key.longgetBucketsOrThrow(int key) A map from granularity key to example count for that key.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.UsegetBucketsMap()instead. -
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;
-