# \#protobuf

**URL:** https://forum.canton.network/tag/protobuf/91.md

[Latest](https://forum.canton.network/latest.md) · [Categories](https://forum.canton.network/categories.md) · [Tags](https://forum.canton.network/tags.md)

---

## [Extracting choice return type defined in DAML templates as a Java type](https://forum.canton.network/t/extracting-choice-return-type-defined-in-daml-templates-as-a-java-type/4666)

<div class="topic-metadata">

**Author:** [@Julius\_William](https://forum.canton.network/u/Julius_William)\
**Replies:** 10\
**Last updated:** [June 3, 2022, 2:01pm UTC](https://forum.canton.network/t/extracting-choice-return-type-defined-in-daml-templates-as-a-java-type/4666 "2022-06-03T14:01:55Z")

</div>

Hi all, Issue: I am trying to specifically retrieve the return type of a choice defined in DAML files in the form of a corresponding java type. Steps done: Looking at codegen java and the DAML to LF conversion proce…

---

## [Canton interop with Java bindings](https://forum.canton.network/t/canton-interop-with-java-bindings/2865)

<div class="topic-metadata">

**Author:** [@sully](https://forum.canton.network/u/sully)\
**Replies:** 3\
**Last updated:** [July 20, 2021, 4:47pm UTC](https://forum.canton.network/t/canton-interop-with-java-bindings/2865 "2021-07-20T16:47:31Z")

</div>

I have a little Daml application that I am trying to deploy to Canton. I’m roughly following this Getting Started example code: https://www.canton.io/docs/stable/user-manual/tutorials/getting\_started.html#executing-smar…

---

## [What is a good proxy for actual transaction / command size?](https://forum.canton.network/t/what-is-a-good-proxy-for-actual-transaction-command-size/533)

<div class="topic-metadata">

**Author:** [@georg](https://forum.canton.network/u/georg)\
**Replies:** 6\
**Last updated:** [May 26, 2020, 7:41am UTC](https://forum.canton.network/t/what-is-a-good-proxy-for-actual-transaction-command-size/533 "2020-05-26T07:41:58Z")

</div>

I want to measure transaction round-trip time dependent on the size of the transaction. An obvious proxy for actual transaction size would be to take the serialized byte size of the command message I’m sending, ignoring …
