Searched refs:ServerStatsFieldEnums (Results 1 – 3 of 3) sorted by relevance
56 ByteBuffer bb = ByteBuffer.allocate(ServerStatsFieldEnums.getTotalSize() + 1); in toBytes()62 bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_LB_LATENCY_ID.value()); in toBytes()65 bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_SERVICE_LATENCY_ID.value()); in toBytes()68 bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_TRACE_OPTION_ID.value()); in toBytes()100 ServerStatsFieldEnums.Id id = ServerStatsFieldEnums.Id.valueOf((int) bb.get() & 0xFF); in parseBytes()
31 public final class ServerStatsFieldEnums { class139 private ServerStatsFieldEnums() {} in ServerStatsFieldEnums() method in ServerStatsFieldEnums
21 import io.opencensus.common.ServerStatsFieldEnums.Id;22 import io.opencensus.common.ServerStatsFieldEnums.Size;54 assertThat(ServerStatsFieldEnums.getTotalSize()).isEqualTo(20); in totalSizeTest()