public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.interpretations != null) { oprot.writeFieldBegin(INTERPRETATIONS_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRUCT, this.interpretations.size())); for (GeocodeInterpretation _iter50 : this.interpretations) { _iter50.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } if (this.debugLines != null) { if (isSetDebugLines()) { oprot.writeFieldBegin(DEBUG_LINES_FIELD_DESC); { oprot.writeListBegin(new TList(TType.STRING, this.debugLines.size())); for (String _iter51 : this.debugLines) { oprot.writeString(_iter51); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } if (this.requestWktGeometry != null) { if (isSetRequestWktGeometry()) { oprot.writeFieldBegin(REQUEST_WKT_GEOMETRY_FIELD_DESC); oprot.writeString(this.requestWktGeometry); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }