public void write(libthrift091.protocol.TProtocol oprot, ListQueueResponse struct) throws libthrift091.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.queueName != null) { oprot.writeFieldBegin(QUEUE_NAME_FIELD_DESC); { oprot.writeListBegin( new libthrift091.protocol.TList( libthrift091.protocol.TType.STRING, struct.queueName.size())); for (String _iter13 : struct.queueName) { oprot.writeString(_iter13); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }