write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
oprot.writeFieldBegin(_SPACE_ID_FIELD_DESC);
oprot.writeI32(this.space_id);
oprot.writeFieldEnd();
if (this.depend_schema != null) {
oprot.writeFieldBegin(_DEPEND_SCHEMA_FIELD_DESC);
this.depend_schema?.write(oprot);
oprot.writeFieldEnd();
}
if (this.fields != null) {
oprot.writeFieldBegin(_FIELDS_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRING, this.fields?.length));
for (var elem331 in this.fields ?? []) {
oprot.writeBinary(elem331);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}