Interface TimestampStats.GranularStatsOrBuilder

    • 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.MessageLiteOrBuilder

        isInitialized
      • 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;
      • 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;