blob: 44ba3bf52be149e9083368e4eb79d631daa71b65 [file] [log] [blame]
{
"name": "test.protocollayouts",
"library_dependencies": [
{
"name": "test.protocollayouts.imported",
"declarations": {
"test.protocollayouts.imported/ComposedProtocol": {
"kind": "protocol"
},
"test.protocollayouts.imported/ComposedProtocolOnAnonComposedWithErrorRequest": {
"kind": "struct",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolOnNamedComposedWithErrorRequest": {
"kind": "struct",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedWithErrorTopResponse": {
"kind": "struct",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolTwoWayNamedComposedWithErrorTopResponse": {
"kind": "struct",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolOneWayAnonComposedRequest": {
"kind": "table",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedResponse": {
"kind": "table",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedWithErrorRequest": {
"kind": "table",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocol_OnAnonComposedWithError_Response": {
"kind": "table",
"resource": false
},
"test.protocollayouts.imported/ImportTablePayload": {
"kind": "table",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolOnAnonComposedRequest": {
"kind": "union",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedRequest": {
"kind": "union",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocol_OnAnonComposedWithError_Result": {
"kind": "union",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocol_OnNamedComposedWithError_Result": {
"kind": "union",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocol_TwoWayAnonComposedWithError_Response": {
"kind": "union",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocol_TwoWayAnonComposedWithError_Result": {
"kind": "union",
"resource": false
},
"test.protocollayouts.imported/ComposedProtocol_TwoWayNamedComposedWithError_Result": {
"kind": "union",
"resource": false
},
"test.protocollayouts.imported/ImportUnionPayload": {
"kind": "union",
"resource": false
}
}
}
],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"experimental_resource_declarations": [],
"protocol_declarations": [
{
"name": "test.protocollayouts/MainProtocol",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 13,
"column": 10,
"length": 12
},
"composed_protocols": [
{
"name": "test.protocollayouts.imported/ComposedProtocol",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 15,
"column": 13,
"length": 20
}
}
],
"methods": [
{
"ordinal": 467706262354916833,
"name": "OneWayAnonComposed",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 12,
"column": 5,
"length": 18
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolOneWayAnonComposedRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": false,
"is_composed": true,
"has_error": false
},
{
"ordinal": 1634702755099390832,
"name": "TwoWayAnonComposed",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 15,
"column": 5,
"length": 18
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedResponse",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": true,
"has_error": false
},
{
"ordinal": 3374101322700362141,
"name": "TwoWayAnonComposedWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 20,
"column": 5,
"length": 27
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedWithErrorRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedWithErrorTopResponse",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"is_composed": true,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_TwoWayAnonComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_TwoWayAnonComposedWithError_Response",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 9198778981238868491,
"name": "OnAnonComposed",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 25,
"column": 8,
"length": 14
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolOnAnonComposedRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"is_composed": true,
"has_error": false
},
{
"ordinal": 712214127111113275,
"name": "OnAnonComposedWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 28,
"column": 8,
"length": 23
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolOnAnonComposedWithErrorRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": true,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_OnAnonComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_OnAnonComposedWithError_Response",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 6735359826241449560,
"name": "OneWayNamedComposed",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 32,
"column": 5,
"length": 19
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": false,
"is_composed": true,
"has_error": false
},
{
"ordinal": 1110122450485917712,
"name": "TwoWayNamedComposed",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 33,
"column": 5,
"length": 19
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": true,
"has_error": false
},
{
"ordinal": 3520341666774118271,
"name": "TwoWayNamedComposedWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 34,
"column": 5,
"length": 28
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolTwoWayNamedComposedWithErrorTopResponse",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"is_composed": true,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_TwoWayNamedComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 6802961197456477674,
"name": "OnNamedComposed",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 35,
"column": 8,
"length": 15
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"is_composed": true,
"has_error": false
},
{
"ordinal": 7488207288618998795,
"name": "OnNamedComposedWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 36,
"column": 8,
"length": 24
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocolOnNamedComposedWithErrorRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": true,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_OnNamedComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 374039999976906043,
"name": "OneWayImport",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 18,
"column": 5,
"length": 12
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": false,
"is_composed": false,
"has_error": false
},
{
"ordinal": 3167860988423964164,
"name": "TwoWayImport",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 19,
"column": 5,
"length": 12
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": false
},
{
"ordinal": 4837028007581646602,
"name": "TwoWayImportWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 20,
"column": 5,
"length": 21
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolTwoWayImportWithErrorTopResponse",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"is_composed": false,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayImportWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 6584793811321990352,
"name": "OnImport",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 21,
"column": 8,
"length": 8
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"is_composed": false,
"has_error": false
},
{
"ordinal": 1123803631971094487,
"name": "OnImportWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 22,
"column": 8,
"length": 17
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolOnImportWithErrorRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnImportWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 6085941264859402051,
"name": "OneWayLocal",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 25,
"column": 5,
"length": 11
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": false,
"is_composed": false,
"has_error": false
},
{
"ordinal": 7763901300032164763,
"name": "TwoWayLocal",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 26,
"column": 5,
"length": 11
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": false
},
{
"ordinal": 5609487496960056151,
"name": "TwoWayLocalWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 27,
"column": 5,
"length": 20
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolTwoWayLocalWithErrorTopResponse",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayLocalWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 4199259762307646332,
"name": "OnLocal",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 28,
"column": 8,
"length": 7
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": false
},
{
"ordinal": 8767483445230259748,
"name": "OnLocalWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 29,
"column": 8,
"length": 16
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolOnLocalWithErrorRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnLocalWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 4203317713771984620,
"name": "OneWayAnon",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 32,
"column": 5,
"length": 10
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolOneWayAnonRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": false,
"is_composed": false,
"has_error": false
},
{
"ordinal": 7435080039097281487,
"name": "TwoWayAnon",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 35,
"column": 5,
"length": 10
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolTwoWayAnonRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolTwoWayAnonResponse",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": false
},
{
"ordinal": 7770394869745610225,
"name": "TwoWayAnonWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 40,
"column": 5,
"length": 19
},
"has_request": true,
"maybe_request_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolTwoWayAnonWithErrorRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolTwoWayAnonWithErrorTopResponse",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayAnonWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayAnonWithError_Response",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
},
{
"ordinal": 7275479350674227467,
"name": "OnAnon",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 45,
"column": 8,
"length": 6
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolOnAnonRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": false
},
{
"ordinal": 3672186790919812761,
"name": "OnAnonWithError",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 48,
"column": 8,
"length": 15
},
"has_request": false,
"has_response": true,
"maybe_response_payload": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocolOnAnonWithErrorRequest",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"is_composed": false,
"has_error": true,
"maybe_response_result_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnAnonWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_success_type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnAnonWithError_Response",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"maybe_response_err_type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
}
}
]
}
],
"service_declarations": [],
"struct_declarations": [
{
"name": "test.protocollayouts/MainProtocolOnAnonWithErrorRequest",
"naming_context": [
"MainProtocol",
"OnAnonWithError",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 48,
"column": 23,
"length": 36
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnAnonWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 46,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolOnImportWithErrorRequest",
"naming_context": [
"MainProtocol",
"OnImportWithError",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 22,
"column": 25,
"length": 24
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnImportWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 26,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolOnLocalWithErrorRequest",
"naming_context": [
"MainProtocol",
"OnLocalWithError",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 29,
"column": 24,
"length": 19
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnLocalWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 36,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolTwoWayAnonWithErrorTopResponse",
"naming_context": [
"MainProtocol",
"TwoWayAnonWithError",
"Response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 42,
"column": 11,
"length": 43
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayAnonWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 41,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolTwoWayImportWithErrorTopResponse",
"naming_context": [
"MainProtocol",
"TwoWayImportWithError",
"Response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 20,
"column": 54,
"length": 24
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayImportWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 21,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
{
"name": "test.protocollayouts/MainProtocolTwoWayLocalWithErrorTopResponse",
"naming_context": [
"MainProtocol",
"TwoWayLocalWithError",
"Response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 27,
"column": 48,
"length": 19
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayLocalWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 31,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
}
],
"external_struct_declarations": [
{
"name": "test.protocollayouts.imported/ComposedProtocolOnAnonComposedWithErrorRequest",
"naming_context": [
"ComposedProtocol",
"OnAnonComposedWithError",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 28,
"column": 31,
"length": 36
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_OnAnonComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 6,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts.imported/ComposedProtocolOnNamedComposedWithErrorRequest",
"naming_context": [
"ComposedProtocol",
"OnNamedComposedWithError",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 36,
"column": 32,
"length": 20
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_OnNamedComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 16,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts.imported/ComposedProtocolTwoWayAnonComposedWithErrorTopResponse",
"naming_context": [
"ComposedProtocol",
"TwoWayAnonComposedWithError",
"Response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 22,
"column": 11,
"length": 41
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_TwoWayAnonComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 1,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
{
"name": "test.protocollayouts.imported/ComposedProtocolTwoWayNamedComposedWithErrorTopResponse",
"naming_context": [
"ComposedProtocol",
"TwoWayNamedComposedWithError",
"Response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/imported.test.fidl",
"line": 34,
"column": 57,
"length": 20
},
"members": [
{
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ComposedProtocol_TwoWayNamedComposedWithError_Result",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"name": "result",
"location": {
"filename": "generated",
"line": 11,
"column": 1,
"length": 6
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"field_shape_v2": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
}
],
"table_declarations": [
{
"name": "test.protocollayouts/LocalTablePayload",
"naming_context": [
"LocalTablePayload"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 5,
"column": 6,
"length": 17
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "uint16",
"type_shape_v1": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"name": "a",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 6,
"column": 8,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolOneWayAnonRequest",
"naming_context": [
"MainProtocol",
"OneWayAnon",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 32,
"column": 16,
"length": 34
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "uint16",
"type_shape_v1": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"name": "a",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 33,
"column": 12,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolTwoWayAnonResponse",
"naming_context": [
"MainProtocol",
"TwoWayAnon",
"Response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 37,
"column": 12,
"length": 34
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "uint16",
"type_shape_v1": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"name": "a",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 38,
"column": 12,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolTwoWayAnonWithErrorRequest",
"naming_context": [
"MainProtocol",
"TwoWayAnonWithError",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 40,
"column": 25,
"length": 34
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "uint16",
"type_shape_v1": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"name": "a",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 41,
"column": 12,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocol_OnAnonWithError_Response",
"naming_context": [
"MainProtocol",
"OnAnonWithError",
"Request",
"result",
"response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 48,
"column": 24,
"length": 34
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "uint16",
"type_shape_v1": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 2,
"alignment": 2,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"name": "a",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 49,
"column": 12,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
}
],
"union_declarations": [
{
"name": "test.protocollayouts/LocalUnionPayload",
"naming_context": [
"LocalUnionPayload"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 9,
"column": 6,
"length": 17
},
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "b",
"type": {
"kind": "primitive",
"subtype": "bool",
"type_shape_v1": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 10,
"column": 8,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolOnAnonRequest",
"naming_context": [
"MainProtocol",
"OnAnon",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 45,
"column": 15,
"length": 41
},
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "b",
"type": {
"kind": "primitive",
"subtype": "bool",
"type_shape_v1": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 46,
"column": 12,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocolTwoWayAnonRequest",
"naming_context": [
"MainProtocol",
"TwoWayAnon",
"Request"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 35,
"column": 16,
"length": 41
},
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "b",
"type": {
"kind": "primitive",
"subtype": "bool",
"type_shape_v1": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 36,
"column": 12,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocol_OnAnonWithError_Result",
"naming_context": [
"MainProtocol",
"OnAnonWithError",
"Request",
"result"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 48,
"column": 23,
"length": 36
},
"maybe_attributes": [
{
"name": "result",
"arguments": []
}
],
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "response",
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_OnAnonWithError_Response",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"location": {
"filename": "generated",
"line": 47,
"column": 1,
"length": 8
}
},
{
"ordinal": 2,
"reserved": false,
"name": "err",
"type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "generated",
"line": 48,
"column": 1,
"length": 3
}
}
],
"strict": true,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocol_OnImportWithError_Result",
"naming_context": [
"MainProtocol",
"OnImportWithError",
"Request",
"result"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 22,
"column": 25,
"length": 24
},
"maybe_attributes": [
{
"name": "result",
"arguments": []
}
],
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "response",
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"location": {
"filename": "generated",
"line": 27,
"column": 1,
"length": 8
}
},
{
"ordinal": 2,
"reserved": false,
"name": "err",
"type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "generated",
"line": 28,
"column": 1,
"length": 3
}
}
],
"strict": true,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocol_OnLocalWithError_Result",
"naming_context": [
"MainProtocol",
"OnLocalWithError",
"Request",
"result"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 29,
"column": 24,
"length": 19
},
"maybe_attributes": [
{
"name": "result",
"arguments": []
}
],
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "response",
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalTablePayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"location": {
"filename": "generated",
"line": 37,
"column": 1,
"length": 8
}
},
{
"ordinal": 2,
"reserved": false,
"name": "err",
"type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "generated",
"line": 38,
"column": 1,
"length": 3
}
}
],
"strict": true,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 40,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 3,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocol_TwoWayAnonWithError_Response",
"naming_context": [
"MainProtocol",
"TwoWayAnonWithError",
"Response",
"result",
"response"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 42,
"column": 12,
"length": 41
},
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "b",
"type": {
"kind": "primitive",
"subtype": "bool",
"type_shape_v1": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 43,
"column": 12,
"length": 1
}
}
],
"strict": false,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocol_TwoWayAnonWithError_Result",
"naming_context": [
"MainProtocol",
"TwoWayAnonWithError",
"Response",
"result"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 42,
"column": 11,
"length": 43
},
"maybe_attributes": [
{
"name": "result",
"arguments": []
}
],
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "response",
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/MainProtocol_TwoWayAnonWithError_Response",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"location": {
"filename": "generated",
"line": 42,
"column": 1,
"length": 8
}
},
{
"ordinal": 2,
"reserved": false,
"name": "err",
"type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "generated",
"line": 43,
"column": 1,
"length": 3
}
}
],
"strict": true,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
{
"name": "test.protocollayouts/MainProtocol_TwoWayImportWithError_Result",
"naming_context": [
"MainProtocol",
"TwoWayImportWithError",
"Response",
"result"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 20,
"column": 54,
"length": 24
},
"maybe_attributes": [
{
"name": "result",
"arguments": []
}
],
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "response",
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts.imported/ImportUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
"location": {
"filename": "generated",
"line": 22,
"column": 1,
"length": 8
}
},
{
"ordinal": 2,
"reserved": false,
"name": "err",
"type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "generated",
"line": 23,
"column": 1,
"length": 3
}
}
],
"strict": true,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": false
}
},
{
"name": "test.protocollayouts/MainProtocol_TwoWayLocalWithError_Result",
"naming_context": [
"MainProtocol",
"TwoWayLocalWithError",
"Response",
"result"
],
"location": {
"filename": "../../tools/fidl/fidlc/testdata/protocol_layouts/example.test.fidl",
"line": 27,
"column": 48,
"length": 19
},
"maybe_attributes": [
{
"name": "result",
"arguments": []
}
],
"members": [
{
"ordinal": 1,
"reserved": false,
"name": "response",
"type": {
"kind": "identifier",
"identifier": "test.protocollayouts/LocalUnionPayload",
"nullable": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 8,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
},
"location": {
"filename": "generated",
"line": 32,
"column": 1,
"length": 8
}
},
{
"ordinal": 2,
"reserved": false,
"name": "err",
"type": {
"kind": "primitive",
"subtype": "uint32",
"type_shape_v1": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
},
"type_shape_v2": {
"inline_size": 4,
"alignment": 4,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_envelope": false,
"has_flexible_envelope": false
}
},
"location": {
"filename": "generated",
"line": 33,
"column": 1,
"length": 3
}
}
],
"strict": true,
"resource": false,
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 32,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
},
"type_shape_v2": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 16,
"has_padding": true,
"has_envelope": true,
"has_flexible_envelope": true
}
}
],
"type_alias_declarations": [],
"declaration_order": [
"test.protocollayouts/MainProtocol_TwoWayImportWithError_Result",
"test.protocollayouts/MainProtocolTwoWayImportWithErrorTopResponse",
"test.protocollayouts/MainProtocol_TwoWayAnonWithError_Response",
"test.protocollayouts/MainProtocol_TwoWayAnonWithError_Result",
"test.protocollayouts/MainProtocolTwoWayAnonWithErrorTopResponse",
"test.protocollayouts/MainProtocol_OnImportWithError_Result",
"test.protocollayouts/MainProtocolOnImportWithErrorRequest",
"test.protocollayouts/MainProtocol_OnAnonWithError_Response",
"test.protocollayouts/MainProtocol_OnAnonWithError_Result",
"test.protocollayouts/MainProtocolOnAnonWithErrorRequest",
"test.protocollayouts/MainProtocolTwoWayAnonWithErrorRequest",
"test.protocollayouts/MainProtocolTwoWayAnonResponse",
"test.protocollayouts/MainProtocolTwoWayAnonRequest",
"test.protocollayouts/MainProtocolOneWayAnonRequest",
"test.protocollayouts/MainProtocolOnAnonRequest",
"test.protocollayouts/LocalUnionPayload",
"test.protocollayouts/MainProtocol_TwoWayLocalWithError_Result",
"test.protocollayouts/MainProtocolTwoWayLocalWithErrorTopResponse",
"test.protocollayouts/LocalTablePayload",
"test.protocollayouts/MainProtocol_OnLocalWithError_Result",
"test.protocollayouts/MainProtocolOnLocalWithErrorRequest",
"test.protocollayouts/MainProtocol"
],
"declarations": {
"test.protocollayouts/MainProtocol": "protocol",
"test.protocollayouts/MainProtocolOnAnonWithErrorRequest": "struct",
"test.protocollayouts/MainProtocolOnImportWithErrorRequest": "struct",
"test.protocollayouts/MainProtocolOnLocalWithErrorRequest": "struct",
"test.protocollayouts/MainProtocolTwoWayAnonWithErrorTopResponse": "struct",
"test.protocollayouts/MainProtocolTwoWayImportWithErrorTopResponse": "struct",
"test.protocollayouts/MainProtocolTwoWayLocalWithErrorTopResponse": "struct",
"test.protocollayouts/LocalTablePayload": "table",
"test.protocollayouts/MainProtocolOneWayAnonRequest": "table",
"test.protocollayouts/MainProtocolTwoWayAnonResponse": "table",
"test.protocollayouts/MainProtocolTwoWayAnonWithErrorRequest": "table",
"test.protocollayouts/MainProtocol_OnAnonWithError_Response": "table",
"test.protocollayouts/LocalUnionPayload": "union",
"test.protocollayouts/MainProtocolOnAnonRequest": "union",
"test.protocollayouts/MainProtocolTwoWayAnonRequest": "union",
"test.protocollayouts/MainProtocol_OnAnonWithError_Result": "union",
"test.protocollayouts/MainProtocol_OnImportWithError_Result": "union",
"test.protocollayouts/MainProtocol_OnLocalWithError_Result": "union",
"test.protocollayouts/MainProtocol_TwoWayAnonWithError_Response": "union",
"test.protocollayouts/MainProtocol_TwoWayAnonWithError_Result": "union",
"test.protocollayouts/MainProtocol_TwoWayImportWithError_Result": "union",
"test.protocollayouts/MainProtocol_TwoWayLocalWithError_Result": "union"
}
}