public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, ShowCompactResponseElement struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeString(struct.dbname);
oprot.writeString(struct.tablename);
oprot.writeString(struct.partitionname);
oprot.writeI32(struct.type.getValue());
oprot.writeString(struct.state);
oprot.writeString(struct.workerid);
oprot.writeI64(struct.start);
oprot.writeString(struct.runAs);
}