@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSet struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(3);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TMap _map153 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST); 
          struct.userPrivileges = new java.util.HashMap<java.lang.String,java.util.List<PrivilegeGrantInfo>>(2*_map153.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key154;
          @org.apache.thrift.annotation.Nullable java.util.List<PrivilegeGrantInfo> _val155;
          for (int _i156 = 0; _i156 < _map153.size; ++_i156)
          {
            _key154 = iprot.readString();
            {
              org.apache.thrift.protocol.TList _list157 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
              _val155 = new java.util.ArrayList<PrivilegeGrantInfo>(_list157.size);
              @org.apache.thrift.annotation.Nullable PrivilegeGrantInfo _elem158;
              for (int _i159 = 0; _i159 < _list157.size; ++_i159)
              {
                _elem158 = new PrivilegeGrantInfo();
                _elem158.read(iprot);
                _val155.add(_elem158);
              }
            }
            struct.userPrivileges.put(_key154, _val155);
          }
        }
        struct.setUserPrivilegesIsSet(true);
      }
      if (incoming.get(1)) {
        {
          org.apache.thrift.protocol.TMap _map160 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST); 
          struct.groupPrivileges = new java.util.HashMap<java.lang.String,java.util.List<PrivilegeGrantInfo>>(2*_map160.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key161;
          @org.apache.thrift.annotation.Nullable java.util.List<PrivilegeGrantInfo> _val162;
          for (int _i163 = 0; _i163 < _map160.size; ++_i163)
          {
            _key161 = iprot.readString();
            {
              org.apache.thrift.protocol.TList _list164 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
              _val162 = new java.util.ArrayList<PrivilegeGrantInfo>(_list164.size);
              @org.apache.thrift.annotation.Nullable PrivilegeGrantInfo _elem165;
              for (int _i166 = 0; _i166 < _list164.size; ++_i166)
              {
                _elem165 = new PrivilegeGrantInfo();
                _elem165.read(iprot);
                _val162.add(_elem165);
              }
            }
            struct.groupPrivileges.put(_key161, _val162);
          }
        }
        struct.setGroupPrivilegesIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TMap _map167 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST); 
          struct.rolePrivileges = new java.util.HashMap<java.lang.String,java.util.List<PrivilegeGrantInfo>>(2*_map167.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key168;
          @org.apache.thrift.annotation.Nullable java.util.List<PrivilegeGrantInfo> _val169;
          for (int _i170 = 0; _i170 < _map167.size; ++_i170)
          {
            _key168 = iprot.readString();
            {
              org.apache.thrift.protocol.TList _list171 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
              _val169 = new java.util.ArrayList<PrivilegeGrantInfo>(_list171.size);
              @org.apache.thrift.annotation.Nullable PrivilegeGrantInfo _elem172;
              for (int _i173 = 0; _i173 < _list171.size; ++_i173)
              {
                _elem172 = new PrivilegeGrantInfo();
                _elem172.read(iprot);
                _val169.add(_elem172);
              }
            }
            struct.rolePrivileges.put(_key168, _val169);
          }
        }
        struct.setRolePrivilegesIsSet(true);
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java