|  | <link rel="stylesheet" href="../style.css" /> | 
|  |  | 
|  | [TOC] | 
|  | # test.nullable | 
|  |  | 
|  |  | 
|  |  | 
|  | ## **PROTOCOLS** | 
|  |  | 
|  | ## SimpleProtocol {#SimpleProtocol} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=17)* | 
|  |  | 
|  |  | 
|  | ### Add {#SimpleProtocol.Add} | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | #### Request {#SimpleProtocol.Add_Request} | 
|  |  | 
|  | <table> | 
|  | <tr><th>Name</th><th>Type</th></tr> | 
|  | <tr> | 
|  | <td><code>a</code></td> | 
|  | <td> | 
|  | <code>int32</code> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td><code>b</code></td> | 
|  | <td> | 
|  | <code>int32</code> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  |  | 
|  | #### Response {#SimpleProtocol.Add_Response} | 
|  |  | 
|  | <table> | 
|  | <tr><th>Name</th><th>Type</th></tr> | 
|  | <tr> | 
|  | <td><code>sum</code></td> | 
|  | <td> | 
|  | <code>int32</code> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  |  | 
|  | ## **STRUCTS** | 
|  |  | 
|  | ### Int32Wrapper  {#Int32Wrapper data-text="Int32Wrapper"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=34)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="Int32Wrapper.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code>int32</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | ### StructWithNullableHandle [resource](/fuchsia-src/reference/fidl/language/language.md#value-vs-resource){:.fidl-attribute} {#StructWithNullableHandle data-text="StructWithNullableHandle"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=13)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="StructWithNullableHandle.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code>handle<vmo>?</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | ### StructWithNullableProtocol [resource](/fuchsia-src/reference/fidl/language/language.md#value-vs-resource){:.fidl-attribute} {#StructWithNullableProtocol data-text="StructWithNullableProtocol"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=26)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="StructWithNullableProtocol.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code><a class='link' href='#SimpleProtocol'>SimpleProtocol</a>?</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | ### StructWithNullableRequest [resource](/fuchsia-src/reference/fidl/language/language.md#value-vs-resource){:.fidl-attribute} {#StructWithNullableRequest data-text="StructWithNullableRequest"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=30)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="StructWithNullableRequest.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code>server_end<<a class='link' href='#SimpleProtocol'>SimpleProtocol</a>>?</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | ### StructWithNullableString  {#StructWithNullableString data-text="StructWithNullableString"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=5)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="StructWithNullableString.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code>string?</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | ### StructWithNullableStruct  {#StructWithNullableStruct data-text="StructWithNullableStruct"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=38)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="StructWithNullableStruct.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code><a class='link' href='#Int32Wrapper'>Int32Wrapper</a>?</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | ### StructWithNullableUnion  {#StructWithNullableUnion data-text="StructWithNullableUnion"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=47)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="StructWithNullableUnion.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code><a class='link' href='#SimpleUnion'>SimpleUnion</a>?</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | ### StructWithNullableVector  {#StructWithNullableVector data-text="StructWithNullableVector"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=9)* | 
|  |  | 
|  | <table> | 
|  | <tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr> | 
|  | <tr id="StructWithNullableVector.val"> | 
|  | <td><code>val</code></td> | 
|  | <td> | 
|  | <code>vector<int32>?</code> | 
|  | </td> | 
|  | <td></td> | 
|  | <td>No default</td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | ## **UNIONS** | 
|  |  | 
|  | ### SimpleUnion [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute}  {#SimpleUnion data-text="SimpleUnion"} | 
|  | *Defined in [test.nullable/nullable.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/fidl/fidlc/testdata/nullable.test.fidl;l=42)* | 
|  | <table> | 
|  | <tr><th>Ordinal</th><th>Variant</th><th>Type</th><th>Description</th></tr> | 
|  | <tr id="SimpleUnion.a"> | 
|  | <td><h3 id="SimpleUnion.a" class="add-link hide-from-toc">1</h3></td> | 
|  | <td><code>a</code></td> | 
|  | <td> | 
|  | <code>int32</code> | 
|  | </td> | 
|  | <td></td> | 
|  | </tr> | 
|  | <tr id="SimpleUnion.b"> | 
|  | <td><h3 id="SimpleUnion.b" class="add-link hide-from-toc">2</h3></td> | 
|  | <td><code>b</code></td> | 
|  | <td> | 
|  | <code>float32</code> | 
|  | </td> | 
|  | <td></td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  |  | 
|  |  |