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();
oprot.writeFieldBegin(_OP_FIELD_DESC);
oprot.writeI32(this.op);
oprot.writeFieldEnd();
oprot.writeFieldBegin(_TYPE_FIELD_DESC);
oprot.writeI32(this.type);
oprot.writeFieldEnd();
if (this.paras != null) {
oprot.writeFieldBegin(_PARAS_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRING, this.paras?.length));
for (var elem39 in this.paras ?? []) {
oprot.writeBinary(elem39);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}