}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TSentryActiveRoleSet struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.all = iprot.readBool();
struct.setAllIsSet(true);
{
org.apache.thrift.protocol.TSet _set45 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
struct.roles = new HashSet<String>(2*_set45.size);
for (int _i46 = 0; _i46 < _set45.size; ++_i46)