write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.columns != null) {
oprot.writeFieldBegin(_COLUMNS_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.columns?.length));
for (var elem3 in this.columns ?? []) {
elem3.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
if (this.schema_prop != null) {
oprot.writeFieldBegin(_SCHEMA_PROP_FIELD_DESC);
this.schema_prop?.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}