public int size() {
        return payload().limit() + size.limit();
    }
Returns the total size of the receive including payload and size buffer
for use in metrics. This is consistent with {@link NetworkSend#size()}
clients/src/main/java/org/apache/kafka/common/network/NetworkReceive.java