| // WARNING: This file is machine generated by fidlgen. |
| |
| // fidl_experiment = output_index_json |
| |
| #include <lib/fidl/internal.h> |
| |
| const struct FidlCodedUnion test_requestflexibleenvelope_FlexibleFooTable; |
| const struct FidlCodedUnion test_requestflexibleenvelope_StrictFooTable; |
| static const struct FidlCodedString StringunboundednotnullableTable; |
| |
| static const struct FidlStructElement Fields73test_requestflexibleenvelope_ProtocolRequestFlexibleResponseStrictRequest[] = { |
| { |
| .field = { |
| .header = { |
| .element_type = kFidlStructElementType_Field, |
| .is_resource = kFidlIsResource_NotResource, |
| }, |
| .offset_v2 = 0, |
| .field_type = (const fidl_type_t*)&test_requestflexibleenvelope_FlexibleFooTable, |
| }, |
| }, |
| }; |
| const struct FidlCodedStruct test_requestflexibleenvelope_ProtocolRequestFlexibleResponseStrictRequestTable = { |
| .tag = kFidlTypeStruct, |
| .name = "test.requestflexibleenvelope/ProtocolRequestFlexibleResponseStrictRequest", |
| .is_empty = kFidlEmpty_IsNotEmpty, |
| .size_v2 = 16, |
| .elements = Fields73test_requestflexibleenvelope_ProtocolRequestFlexibleResponseStrictRequest, |
| .element_count = 1, |
| }; |
| |
| static const struct FidlStructElement Fields74test_requestflexibleenvelope_ProtocolRequestFlexibleResponseStrictResponse[] = { |
| { |
| .field = { |
| .header = { |
| .element_type = kFidlStructElementType_Field, |
| .is_resource = kFidlIsResource_NotResource, |
| }, |
| .offset_v2 = 0, |
| .field_type = (const fidl_type_t*)&test_requestflexibleenvelope_StrictFooTable, |
| }, |
| }, |
| }; |
| const struct FidlCodedStruct test_requestflexibleenvelope_ProtocolRequestFlexibleResponseStrictResponseTable = { |
| .tag = kFidlTypeStruct, |
| .name = "test.requestflexibleenvelope/ProtocolRequestFlexibleResponseStrictResponse", |
| .is_empty = kFidlEmpty_IsNotEmpty, |
| .size_v2 = 16, |
| .elements = Fields74test_requestflexibleenvelope_ProtocolRequestFlexibleResponseStrictResponse, |
| .element_count = 1, |
| }; |
| |
| static const struct FidlStructElement Fields73test_requestflexibleenvelope_ProtocolRequestStrictResponseFlexibleRequest[] = { |
| { |
| .field = { |
| .header = { |
| .element_type = kFidlStructElementType_Field, |
| .is_resource = kFidlIsResource_NotResource, |
| }, |
| .offset_v2 = 0, |
| .field_type = (const fidl_type_t*)&test_requestflexibleenvelope_StrictFooTable, |
| }, |
| }, |
| }; |
| const struct FidlCodedStruct test_requestflexibleenvelope_ProtocolRequestStrictResponseFlexibleRequestTable = { |
| .tag = kFidlTypeStruct, |
| .name = "test.requestflexibleenvelope/ProtocolRequestStrictResponseFlexibleRequest", |
| .is_empty = kFidlEmpty_IsNotEmpty, |
| .size_v2 = 16, |
| .elements = Fields73test_requestflexibleenvelope_ProtocolRequestStrictResponseFlexibleRequest, |
| .element_count = 1, |
| }; |
| |
| static const struct FidlStructElement Fields74test_requestflexibleenvelope_ProtocolRequestStrictResponseFlexibleResponse[] = { |
| { |
| .field = { |
| .header = { |
| .element_type = kFidlStructElementType_Field, |
| .is_resource = kFidlIsResource_NotResource, |
| }, |
| .offset_v2 = 0, |
| .field_type = (const fidl_type_t*)&test_requestflexibleenvelope_FlexibleFooTable, |
| }, |
| }, |
| }; |
| const struct FidlCodedStruct test_requestflexibleenvelope_ProtocolRequestStrictResponseFlexibleResponseTable = { |
| .tag = kFidlTypeStruct, |
| .name = "test.requestflexibleenvelope/ProtocolRequestStrictResponseFlexibleResponse", |
| .is_empty = kFidlEmpty_IsNotEmpty, |
| .size_v2 = 16, |
| .elements = Fields74test_requestflexibleenvelope_ProtocolRequestStrictResponseFlexibleResponse, |
| .element_count = 1, |
| }; |
| |
| static const struct FidlUnionField Fields40test_requestflexibleenvelope_FlexibleFoo[] = { |
| {.type = (const fidl_type_t*)&StringunboundednotnullableTable}, |
| {.type = (const fidl_type_t*)&fidl_internal_kInt32Table}, |
| }; |
| const struct FidlCodedUnion test_requestflexibleenvelope_FlexibleFooTable = { |
| .tag = kFidlTypeUnion, |
| .name = "test.requestflexibleenvelope/FlexibleFoo", |
| .strictness = kFidlStrictness_Flexible, |
| .is_resource = kFidlIsResource_NotResource, |
| .nullable = kFidlNullability_Nonnullable, |
| .fields = Fields40test_requestflexibleenvelope_FlexibleFoo, |
| .field_count = 2, |
| }; |
| const struct FidlCodedUnion test_requestflexibleenvelope_FlexibleFooNullableRefTable = { |
| .tag = kFidlTypeUnion, |
| .name = "test.requestflexibleenvelope/FlexibleFoo", |
| .strictness = kFidlStrictness_Flexible, |
| .is_resource = kFidlIsResource_NotResource, |
| .nullable = kFidlNullability_Nullable, |
| .fields = Fields40test_requestflexibleenvelope_FlexibleFoo, |
| .field_count = 2, |
| }; |
| |
| static const struct FidlUnionField Fields38test_requestflexibleenvelope_StrictFoo[] = { |
| {.type = (const fidl_type_t*)&StringunboundednotnullableTable}, |
| {.type = (const fidl_type_t*)&fidl_internal_kInt32Table}, |
| }; |
| const struct FidlCodedUnion test_requestflexibleenvelope_StrictFooTable = { |
| .tag = kFidlTypeUnion, |
| .name = "test.requestflexibleenvelope/StrictFoo", |
| .strictness = kFidlStrictness_Strict, |
| .is_resource = kFidlIsResource_NotResource, |
| .nullable = kFidlNullability_Nonnullable, |
| .fields = Fields38test_requestflexibleenvelope_StrictFoo, |
| .field_count = 2, |
| }; |
| const struct FidlCodedUnion test_requestflexibleenvelope_StrictFooNullableRefTable = { |
| .tag = kFidlTypeUnion, |
| .name = "test.requestflexibleenvelope/StrictFoo", |
| .strictness = kFidlStrictness_Strict, |
| .is_resource = kFidlIsResource_NotResource, |
| .nullable = kFidlNullability_Nullable, |
| .fields = Fields38test_requestflexibleenvelope_StrictFoo, |
| .field_count = 2, |
| }; |
| |
| static const struct FidlCodedString StringunboundednotnullableTable = { |
| .tag = kFidlTypeString, |
| .max_size = 4294967295, |
| .nullable = kFidlNullability_Nonnullable, |
| }; |