Class ServerStatsFieldEnums
java.lang.Object
io.opencensus.common.ServerStatsFieldEnums
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAvailable Ids forServerStatsattributes.static enumSize for each attributes inServerStats. -
Method Summary
Modifier and TypeMethodDescriptionstatic intReturns the total size required to encode theServerStats.
-
Method Details
-
getTotalSize
public static int getTotalSize()Returns the total size required to encode theServerStats.- Returns:
- the total size required to encode all fields in
ServerStats. - Since:
- 0.16
-