struct.setPrivilegesMapByAuthIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TListSentryPrivilegesByAuthResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new org.apache.sentry.service.thrift.TSentryResponseStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { org.apache.thrift.protocol.TMap _map144 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.privilegesMapByAuth = new HashMap<String,TSentryPrivilegeMap>(2*_map144.size); String _key145; TSentryPrivilegeMap _val146; for (int _i147 = 0; _i147 < _map144.size; ++_i147) { _key145 = iprot.readString(); _val146 = new TSentryPrivilegeMap(); _val146.read(iprot); struct.privilegesMapByAuth.put(_key145, _val146); } } struct.setPrivilegesMapByAuthIsSet(true); } } }