Class ServerStatsFieldEnums


  • public final class ServerStatsFieldEnums
    extends java.lang.Object
    A Enum representation for Ids and Size for attributes of ServerStats.

    See opencensus-server-stats-specs for the field ids and their length defined for Server Stats

    Since:
    0.16
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int TOTALSIZE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int computeTotalSize()  
      static int getTotalSize()
      Returns the total size required to encode the ServerStats.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TOTALSIZE

        private static final int TOTALSIZE
    • Constructor Detail

      • ServerStatsFieldEnums

        private ServerStatsFieldEnums()
    • Method Detail

      • computeTotalSize

        private static int computeTotalSize()
      • getTotalSize

        public static int getTotalSize()
        Returns the total size required to encode the ServerStats.
        Returns:
        the total size required to encode all fields in ServerStats.
        Since:
        0.16