write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
oprot.writeFieldBegin(_START_TIME_FIELD_DESC);
oprot.writeI64(this.start_time);
oprot.writeFieldEnd();
oprot.writeFieldBegin(_STATUS_FIELD_DESC);
oprot.writeI32(this.status);
oprot.writeFieldEnd();
oprot.writeFieldBegin(_DURATION_FIELD_DESC);
oprot.writeI64(this.duration);
oprot.writeFieldEnd();
if (this.query != null) {
oprot.writeFieldBegin(_QUERY_FIELD_DESC);
oprot.writeBinary(this.query);
oprot.writeFieldEnd();
}
if (this.graph_addr != null) {
oprot.writeFieldBegin(_GRAPH_ADDR_FIELD_DESC);
this.graph_addr?.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}