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 Type
    Method
    Description
    boolean
    containsBuckets(int key)
    A map from granularity key to example count for that key.
    Deprecated.
    int
    A map from granularity key to example count for that key.
    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
    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 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 Map<Integer,Long> getBuckets()
      Deprecated.
      Use getBucketsMap() 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;