@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      {
        org.apache.thrift.protocol.TList _list187 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
        struct.principalGrants = new java.util.ArrayList<RolePrincipalGrant>(_list187.size);
        @org.apache.thrift.annotation.Nullable RolePrincipalGrant _elem188;
        for (int _i189 = 0; _i189 < _list187.size; ++_i189)
        {
          _elem188 = new RolePrincipalGrant();
          _elem188.read(iprot);
          struct.principalGrants.add(_elem188);
        }
      }
      struct.setPrincipalGrantsIsSet(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/GetRoleGrantsForPrincipalResponse.java