@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TConstraintViolationSummary struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
struct.constrainClass = iprot.readString();
struct.setConstrainClassIsSet(true);
}
if (incoming.get(1)) {
struct.violationCode = iprot.readI16();
struct.setViolationCodeIsSet(true);