2 # Autogenerated by Thrift
4 # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
7 cdef class decorated_struct_Builder
(thrift
.py3
.builder
.StructBuilder
):
8 _struct_type
= _module_types
.decorated_struct
11 yield
"field", self.field
13 cdef class ContainerStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
14 _struct_type
= _module_types
.ContainerStruct
17 yield
"fieldA", self.fieldA
18 yield
"fieldB", self.fieldB
19 yield
"fieldC", self.fieldC
20 yield
"fieldD", self.fieldD
21 yield
"fieldE", self.fieldE
22 yield
"fieldF", self.fieldF
23 yield
"fieldG", self.fieldG
24 yield
"fieldH", self.fieldH
26 cdef class CppTypeStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
27 _struct_type
= _module_types
.CppTypeStruct
30 yield
"fieldA", self.fieldA
32 cdef class VirtualStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
33 _struct_type
= _module_types
.VirtualStruct
36 yield
"MyIntField", self.MyIntField
38 cdef class MyStructWithForwardRefEnum_Builder
(thrift
.py3
.builder
.StructBuilder
):
39 _struct_type
= _module_types
.MyStructWithForwardRefEnum
45 cdef class TrivialNumeric_Builder
(thrift
.py3
.builder
.StructBuilder
):
46 _struct_type
= _module_types
.TrivialNumeric
52 cdef class TrivialNestedWithDefault_Builder
(thrift
.py3
.builder
.StructBuilder
):
53 _struct_type
= _module_types
.TrivialNestedWithDefault
59 cdef class ComplexString_Builder
(thrift
.py3
.builder
.StructBuilder
):
60 _struct_type
= _module_types
.ComplexString
66 cdef class ComplexNestedWithDefault_Builder
(thrift
.py3
.builder
.StructBuilder
):
67 _struct_type
= _module_types
.ComplexNestedWithDefault
73 cdef class MinPadding_Builder
(thrift
.py3
.builder
.StructBuilder
):
74 _struct_type
= _module_types
.MinPadding
77 yield
"small", self.small
79 yield
"medium", self.medium
80 yield
"biggish", self.biggish
81 yield
"tiny", self.tiny
83 cdef class MyStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
84 _struct_type
= _module_types
.MyStruct
87 yield
"MyIntField", self.MyIntField
88 yield
"MyStringField", self.MyStringField
89 yield
"majorVer", self.majorVer
90 yield
"data", self.data
92 cdef class MyDataItem_Builder
(thrift
.py3
.builder
.StructBuilder
):
93 _struct_type
= _module_types
.MyDataItem
98 cdef class Renaming_Builder
(thrift
.py3
.builder
.StructBuilder
):
99 _struct_type
= _module_types
.Renaming
102 yield
"foo", self.foo
104 cdef class AnnotatedTypes_Builder
(thrift
.py3
.builder
.StructBuilder
):
105 _struct_type
= _module_types
.AnnotatedTypes
108 yield
"binary_field", self.binary_field
109 yield
"list_field", self.list_field
111 cdef class ForwardUsageRoot_Builder
(thrift
.py3
.builder
.StructBuilder
):
112 _struct_type
= _module_types
.ForwardUsageRoot
115 yield
"ForwardUsageStruct", self.ForwardUsageStruct
116 yield
"ForwardUsageByRef", self.ForwardUsageByRef
118 cdef class ForwardUsageStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
119 _struct_type
= _module_types
.ForwardUsageStruct
122 yield
"foo", self.foo
124 cdef class ForwardUsageByRef_Builder
(thrift
.py3
.builder
.StructBuilder
):
125 _struct_type
= _module_types
.ForwardUsageByRef
128 yield
"foo", self.foo
130 cdef class NoexceptMoveEmpty_Builder
(thrift
.py3
.builder
.StructBuilder
):
131 _struct_type
= _module_types
.NoexceptMoveEmpty
136 cdef class NoexceptMoveSimpleStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
137 _struct_type
= _module_types
.NoexceptMoveSimpleStruct
140 yield
"boolField", self.boolField
142 cdef class NoexceptMoveComplexStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
143 _struct_type
= _module_types
.NoexceptMoveComplexStruct
146 yield
"MyBoolField", self.MyBoolField
147 yield
"MyIntField", self.MyIntField
148 yield
"MyStringField", self.MyStringField
149 yield
"MyStringField2", self.MyStringField2
150 yield
"MyBinaryField", self.MyBinaryField
151 yield
"MyBinaryField2", self.MyBinaryField2
152 yield
"MyBinaryField3", self.MyBinaryField3
153 yield
"MyBinaryListField4", self.MyBinaryListField4
154 yield
"MyMapEnumAndInt", self.MyMapEnumAndInt
156 cdef class NoExceptMoveUnion_Builder
(thrift
.py3
.builder
.StructBuilder
):
157 _struct_type
= _module_types
.NoExceptMoveUnion
160 yield
"string_field", self.string_field
161 yield
"i32_field", self.i32_field
163 cdef class AllocatorAware_Builder
(thrift
.py3
.builder
.StructBuilder
):
164 _struct_type
= _module_types
.AllocatorAware
167 yield
"aa_list", self.aa_list
168 yield
"aa_set", self.aa_set
169 yield
"aa_map", self.aa_map
170 yield
"aa_string", self.aa_string
171 yield
"not_a_container", self.not_a_container
172 yield
"aa_unique", self.aa_unique
173 yield
"aa_shared", self.aa_shared
175 cdef class AllocatorAware2_Builder
(thrift
.py3
.builder
.StructBuilder
):
176 _struct_type
= _module_types
.AllocatorAware2
179 yield
"not_a_container", self.not_a_container
181 cdef class TypedefStruct_Builder
(thrift
.py3
.builder
.StructBuilder
):
182 _struct_type
= _module_types
.TypedefStruct
185 yield
"i32_field", self.i32_field
186 yield
"IntTypedef_field", self.IntTypedef_field
187 yield
"UintTypedef_field", self.UintTypedef_field
189 cdef class StructWithDoubleUnderscores_Builder
(thrift
.py3
.builder
.StructBuilder
):
190 _struct_type
= _module_types
.StructWithDoubleUnderscores
193 yield
"__field", self.__field